Changing values in global list does not fire trigger
Posted: 26 Nov 2013 12:17
When a value is added to or removed from a global list variable a trigger associated with the variable is not fired.
Example:
I have a trigger where I want to respond to changes in the list global_testList.
In a flow I add or remove values to the list global_testList with the functions addElement and removeElementValue like this:The trigger above is only fired when the list is assigned first (or created), but never on the subsequent changes of its contents.
Example:
I have a trigger where I want to respond to changes in the list global_testList.
In a flow I add or remove values to the list global_testList with the functions addElement and removeElementValue like this:
Code: Select all
global_testList = addElement(global_testList, 'Test')
global_testList = removeElementValue(global_testList, 'Test')
global_testList = addElement(global_testList, 'Test2')