# Setting a Trigger to Wake Up a Paused Value Stream

The value stream that have already started, may need to wait for an intermediate event before continuing with next steps. While waiting, a value stream goes into a dormant or sleeping state.

## Instance ID as a wake up trigger

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 value stream. Every time a trigger event is received for an OE value stream, OE generates a new instance with an Instance ID. If the value stream is triggered 100 times, OE creates 100 unique Instances, each with their own ID.

1. 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.

   <figure><img src="/files/lRbbvVzh4oxAve4p0p1a" alt="" width="563"><figcaption></figcaption></figure>
2. 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 value stream. The event type is used as a key. The payload grows with every event that is generated.

## Notification module in Make as a wake up trigger

It is also possible to wake up a value stream 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 value stream steps, it causes the process to wake up and move to the next process steps.

{% hint style="info" %}
To learn more about Make modules, see the [Make Modules](https://www.make.com/en/help/modules) documentation.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.emporix.io/oe/value-streams/working-with-value-streams/trigger-to-wake-up-a-paused-process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
