Setting a Trigger to Wake Up a Paused Digital Process
Configure an action event that resumes a paused digital process.
Last updated
Was this helpful?
Configure an action event that resumes a paused digital process.
Last updated
Was this helpful?
The digital process that have already started, may need to wait for an intermediate event before continuing with next steps. While waiting, a digital process goes into a dormant or sleeping state.
To wake up a sleeping process instance, you need to post an event with a ce-instanceid
(Instance ID) header and the ce-type
header that matches the event type that had been configured for the process as a trigger.
ce-instanceid
routes to the correct instance
ce-type
routes to the trigger
The Instance ID is the ID of a running instance of a digital process. Every time a trigger event is received for an OE digital process, OE generates a new instance with an Instance ID. If the digital process is triggered 100 times, OE creates 100 unique Instances, each with their own ID.
To find the Instance ID header in Make, go to your scenario and check the completion summary of the process that was already run. In the Emporix Orchestration window you can check the Instance ID and copy the value.
Enter the copied value for the ce-instanceid
header in your request.
If you send the request with the ce-instanceid
and ce-type
headers, OE saves the payload and then passes it through to the next Make scenarios that are configured as next steps in your OE digital process. The event type is used as a key. The payload grows with every event that is generated.
It is also possible to wake up a digital process with a Make scenario that ends with a "completion event" module that is configured to send notifications about completed scenario to OE. If such a Make scenario is a part of your digital process steps, it causes the process to wake up and move to the next process steps.
To learn more about Make modules, see the documentation.