Hello !
I have a requirement to re-trigger a specific process model instance, that is cancelled automatically as part of a existing process. The specifics in this is that I would need to achieve this via a process model automatically. I can use the Resume or Start Process smart service for achieving this but the smart service expects the process ID.
I have the process name, process model ID, process model UUID and the employee ID that is used as part of the process as a process variable. Using these, is there a way to identify the process instance ID?
Thanks !
Discussion posts and replies are publicly visible
RPR Process Report.docx
Attaching herewith the extract from Process Report
Fortunately we have this process id stored in the database thereby it made my task easier in a way to achieve the solution. Here is what I did - I relayed on the process id that was extracted using a query on db to the 'Start All Nodes' smart service. This smart service accepts the UUID of a specific node along with the process id. Since the UUID (of the start event for the process that needs to be restarted automatically) is constant in this scenario, thereby relaying on the process id as the other parameter, I was able to programmatically trigger the process. Thank you all for chiming in on this !