I am integrating my application with UIPath orcehstartor using orchestrator APIs and webhooks.
I have a requirement as below :
Steps that happen in my application flow
- When a new entity in my application is created, my application generates an entity ID.
- Just after the entity creation, i want to trigger a uipath job using StartJob API
- I have a webhook configured to notify my application on job completion.
I want a mechanism to pass the entity ID at the time of Job Creation to the orchestrator, and get it back when the webhook for the corresponding job completion will be invoked. This will help me identifying the right entity to update on the completion of the job.
one way to achieve this is to updating all my automation to take the entity type as input and return the same as output but it will require me to update all my existing automations, and always adhere to this contract while writing any new automations.
Is there a better way?