> For the complete documentation index, see [llms.txt](https://developer.emporix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.emporix.io/value-stream-modeller/value-stream-designer/creating-value-stream/trigger-to-wake-up-a-paused-process.md).

# Trigger to Wake Up a Paused Process

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 (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 a value stream, VSM generates a new instance with an Instance ID. If the value stream is triggered 100 times, VSM 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 has already run. You can check the Instance ID and copy the value.

   <figure><img src="/files/Um9j0daFsypc5ncOVm3N" 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, VSM saves the payload and then passes it through to the next Make scenarios that are configured as next steps in your VSM 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 VSM. 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 [VSM and CE Make Modules](/value-stream-modeller/value-stream-designer/make-modules.md) documentation.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developer.emporix.io/value-stream-modeller/value-stream-designer/creating-value-stream/trigger-to-wake-up-a-paused-process.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
