Posted: 27 Apr 2018 0:17 EDT Last activity: 8 May 2018 8:17 EDT
Update the status of a case picked by one RPA bot by another RPA bot?
As per our requirement, One RPA bot picks up a case from Pega BPM using Get Next Rest API and we want another bot to update the status back to Pega BPM. Is it possible for the next bot to update the case and if so, please provide details on how to do it.
Can you elaborate on why a second bot will be updating the case status? Will the bot do any other work besides the status update? Please elaborate as we may be able to provide you a more efficient approach.
Assuming that you mean "Case status" which indicates the progress of a case towards resolution. Before discussing feasibility and details of a workaround, could you explain the Use Case and business reason why this approach is suggested? Do you plan to use Robot Manager?
It really seems like if 2 bots are need for you Use Case that setting up 2 workbaskets may be in order. So the idea would be once the first bot is completed, the case would be routed to the second workbasket in the flow. This routing would kicked off the second bot to finished the processing. NOTE: knowing the requirements would help us to know if this is workable for you.
Case Statuses can be updated via .pyStatusWork field of the case work object. This could be updated via an PRPC Activity and even by overriding an OOTB PRPC Activity like "Work-pxForceCaseClose". This could then be exposed via a Rest Service call in which any Bot could call. NOTE: The first bot would need to tell the second bot what the Case ID is in order for this to work.
Again, if you could explain the requirements maybe there is better way.