# Assign/Set Value for Variable ignored when Value is Empty String

**URL:** <https://community.folivora.ai/t/assign-set-value-for-variable-ignored-when-value-is-empty-string/43655>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** variables, trigger, persistent-variables\
**Created:** [May 16, 2025, 3:31pm UTC](https://community.folivora.ai/t/assign-set-value-for-variable-ignored-when-value-is-empty-string/43655 "2025-05-16T15:31:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norpyx](https://community.folivora.ai/user_avatar/community.folivora.ai/norpyx/32/39167_2.png) [@Norpyx](https://community.folivora.ai/u/Norpyx)\
**Post date:** [May 16, 2025, 3:31pm UTC](https://community.folivora.ai/t/assign-set-value-for-variable-ignored-when-value-is-empty-string/43655/1 "2025-05-16T15:31:25Z")

</div>

**Describe the bug**  
I have a common script that's called by multiple different triggers, and each trigger has a set of variables that it can set. There's one variable that I'd like to be empty for a certain flow, but is set by others.

The problem is that BTT seems to be ignoring my `Assign/Set Value for Variable` action.

* * *

**Screenshots**

 ![image](https://community.folivora.ai/uploads/default/original/3X/3/2/326a645e56e6ef26ff61845865d05615fd28c7ee.png)

* * *

**Device information:**

- Type of Mac: 16" Macbook Pro M3 Max (2023)
- macOS version: 15.4.1
- BetterTouchTool version: 5.294
