On the event click of a button, I want to do two actions: call a data transform and finish assignment. First I call a the data transform and set a property "Error" to true if I get an error. Next, depending if the property "Error" is true or not, I perform the second action (finish assignment)
The problem is that PEGA doesn't seem to recognize the new value of the property on the same action. I have tried to do the action of post value between them and refresh section but still is not recognizing the new value. ¿How can I achive that requeriment?
I attach a screenshot of the configuration of the action set of the button to more clarification. Thanks!
***Edited by Moderator: Lochan to update platform capability tags***
Adding to that what is the name of your data transform rule? Because i can see "SetsPropertyA=true" is being referred in the Apply Data transform. I would suggest you to use the down arrow to choose the property or rule name from the list.
I understand that we are setting the property value using the data transform as part of first action in the click event
In the when rule of the second action, you are making use of value set in the first action. If that is the case the finish assignment action should be running as expected from the second on Click event .
The below link would provide inputs on the functionality of dependent multiple actions configured on same event.