Unable to go back to the first step in the same stage

Hello,

I simply want to go back to the first step within the same stage. I usually use pxChangeStage OOTB activity when I want to move to a different stage, but it seems this activity can’t be used if it is in the same stage. System displays an error message, “The requested stage to change to is the same as the current stage”.

How can I go back to the first stage in the same stage?

Regards,

@CloeW938

GoToPreviousTask might help. If this does not help, try to use tickets.

@CloeW938 ,

Please use ‘pxRestartStage’ if you are restarting the same stage.

Also, check if that step is configured as ‘retry on re-entry’ from case type rule.

Hi @CloeW938: Please check this. You can use pxRestartStage to start back the stage.

Thanks.

@SiddhantJivane, @ArulDevan

Thank you, and I was able to go back to the first step in the same stage by calling pxRestartStage activity. However, I have one more question. Actually I am launching an optional process from pyDefault Case Type rule. I am planning to call pxRestartStage activity at the end of this optional process, but I would need to delete all assignments before optional process begins. How can I accomplish this?

Regards,

@CloeW938

We had a similar requirement and had to delete all existing assignments when an optional process is launched. We used pxDeleteAssignmentsForWork activity to achieve cleaning up. Maybe you can give it a try.

Thanks,

@KenshoTsuchihashi

Thank you, this approach also worked!

Regards,