How to run the process from an agent ?
Team, I am a newbie to Pega world and trying to make a workflow based on my learning on Pega concepts and available options.
Situation: I have a case lifecycle defined with 3-4 stages. Once the case reaches to last stage and approved, I change the status to "Review Done". And at this stage, I would be running an agent (to be defined) which will prepare batched case data and send it to other application. Now, other application shall send ack back to this Pega application later time with some unique status and case lifecyle will restart to one of the stage based on the ack type received. Eg: If Ack-P received, Stage 2 will re-start. If Ack-Q received then Stage 3 re-starts. To handle this, I am thinking to add "Processes" in my case lifecyle which will route the workflow to the required stage. And this process starts trigger, I am planning to do by defining new condition based rule set. And In my ruleset conditions, I will check ack status. So once ack comes > rule triggers > condition satisfies > process starts > stage changes and case reaches back to required stage based on ack. Is my thought process is in right direction ? Or you have some other ideas around this. Would love to hear and listen community expert suggestions on this.