-
Hi! I need to create a script to check if current value of one of the variables has symbol @ and if result is negative change the value of this variable to empty. Can someone help with that please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You don't actually need a Script to do this. You could just use the built-in Rule operations. However, if you rather use a Then Run Script script, it would look like this:
The above assumes you are using a global variable. However if you are using an event variable, you would use |
Beta Was this translation helpful? Give feedback.
You don't actually need a Script to do this. You could just use the built-in Rule operations.
However, if you rather use a Then Run Script script, it would look like this:
The above assumes you are using a global variable. However if you are using an event variable, you would use
getEventVariable
andsetEventVariable
instead ofgetGlobalVariable
andsetGlobalVariable
.