For example in getUserVariables, I assigned value to state.$r
And I tried to use like below in transitions raw expression but it doesn’t redirect to node I wanted. I don’t know what I am doing wrong here. Please help!!. I attached the screenshots here.
EDITED : This issue has been solved.
Finally It was about the sequence of the function in onReceive. We need to add getUserVariable at the bottom, just before passing over to the transitions tab as shown below:
Hope this helps someone else.