Hi.
When a global variable including list changes, the trigger "Global variable" is not triggered.
Is this in the specifications?
Example:
Flow 1:
Script: global_test = newList();
addElement(global_test, 'aa');
Flow2: Trigger: Global variables: global_test
↑not triggerd!
Thanks for your time
not detect changing of list variable
Moderator: Martin
Re: not detect changing of list variable
Hi,
Yes, this is by design since adding an element to a list does not assign a different list to the global variable.
You could use a global variable that holds the size of the list and update this variable whenever you change the list. You could also use a global variable that holds a counter that is incremented each time you modify a list.
Regards,
Martin
Yes, this is by design since adding an element to a list does not assign a different list to the global variable.
You could use a global variable that holds the size of the list and update this variable whenever you change the list. You could also use a global variable that holds a counter that is incremented each time you modify a list.
Regards,
Martin