Skip to main content

Process context

The process context is an important part of the Orchestration Engine system as it holds all the external information about the execution of a specific Process Orchestration version instance. You can add process context in the form of a module in your Action Flow.

Before you begin

  • Make sure to set your Action Flow is scheduled to on demand.

  • In your Action Flow, add a new input called dpInstanceId and set the input type to text.

    Important

    The input name value is case-sensitive.

    image1.png

Adding Get Process Content module to Action Flow

  1. In Studio, go to your package and either start editing an existing Action Flow or start a new one by clicking  New assetAction Flow.

  2. Click Add module and from the list select Celonis > Get Process Context.

  3. Add a connection to the module:

    • If there's an existing Process Orchestration in this Studio package, you will see the Orchestration Engine connection in the list.

      GetProcessContent_connection.jpg
    • If there's no Process Orchestration in this Studio package, you have to create the OAuth connection manually before you can add it to this module. To learn how to do that, see Registering your OAuth client in the Celonis Platform.

  4. In the Digital Process Instance ID, use the dpInstanceId variable.

    GetProcessContext_AF2.jpg
  5. Save your changes.

Once you publish and run the Action Flow, you will see all process context for this automation.