Hi,
Is there a way to use local variables in a rule that is used in reduce function When called from UI?
When Using from UI it says that I need to configure refreahalways for the local variable .....
Thaks in advance,
Gil
Discussion posts and replies are publicly visible
That's pretty simple. a!localVariables does not re-evaluate local variables by default when used inside reduce(). To make this work, you need to declare the value of the local using a!refreshVariable and set refreshAlways to true.
Thanks Stefan!
Can you give an example? just how to declare the a!refreshVariable in the right context ?
Thanks
Your predicate expression has local variables. Update these similar to that example.
docs.appian.com/.../Local_Variables.html
I will try what is written there