pxChangeStage is not working as expected
I am trying to change the stage by using pxChangeStage( CleanUpProcess check box in checked) method. Here I am trying to change the stage from Apply(Primary) to Cancel(Alternate) stage.After this I am updating the Work object status by using "UpdateStatus" activity. Here when i trace the activity, I can see new stage is added and status updated. But when I open the Work object again, it is showing as "Pending-Approval" instead of 'Resolved-Cancelled'. Please help me in this.