Question

Tech Mahindra
IN
Last activity: 28 Feb 2023 9:01 EST
Action set not working as expected when applied when condition
Hey guys :)
I am facing the below issue, please suggest
We need to cancel the work object. We have a button and on click of a button we are calling local action to show confirm message to cancel the work object. So If we click 'No' on modal window, We need to be in the current assignment and If we click 'Yes' on modal window, We need to cancel the work object and show review harness.
We are using pxForceCaseClose OOTB activity.
So to show respective harness we are using Review action with when condition pxIsResolved after the local action is performed. And this is working fine when we click No, means it is staying in current harness.
But when we click Yes, it is staying on the same screen only instead of showing Review harness but work object is resolved in the backend. Without when condition it is going to Review harness on click of Yes but it will go to Review even on click of No which is not acceptable.
Tried to trace and when condition is working, Still staying in current harness.
Any inputs, please :)