LogoLogo
CommunitySupport PortalYouTubeStart a free trial
OE
  • Welcome
  • Commerce Engine
  • Orchestration Engine
  • API Documentation
  • Release Notes
  • Changelog
OE
  • Orchestration Engine
  • Getting Started
    • What is OE?
      • What are the benefits?
      • Use Cases
    • Provisioning
    • Understanding Make
    • OE Learning Trails
      • Setting up a First Digital Process
      • Adding a Conditional Step in a Digital Process
  • Management Dashboard
    • Accessing OE
    • Orchestration Center
    • Forms
    • KPIs and Analytics
    • Rulestore
    • Events
      • Event Registry
      • Event Log
      • Cloud Events in OE
      • Events Authentication and Configuration
      • Working with Event Data
    • Admin
      • Users and Roles
      • Integration with Celonis
      • Make Team
      • Task Inbox and Tasks
  • Digital Processes
    • Digital Processes Dashboard
    • Digital Processes Example
    • Working with Digital Processes
      • Digital Process Components
      • Creating a Digital Process
      • Editing a Digital Process
      • Testing a Digital Process
      • Conditional Process Runs
      • OE Make Modules
      • Configuring a Connection between OE and Make Modules
      • Setting a Trigger to Wake Up a Paused Digital Process
      • Cloning of Make Scenarios in OE Digital Processes
    • Data Flow between OE and Celonis
      • Retrieving Data from Celonis
      • Sending Data from OE to Celonis
      • Sending Form Submission Data from OE to Celonis
      • Sending Forms Magic Links Data from OE to Celonis
    • Process Context
    • Datastore
    • Versioning
    • Data Retention Policy
  • Troubleshooting
    • Firewall Allowlisting
    • Digital Processes Debugger
    • Generating a HAR File with Logs
    • FAQ
      • Receiving Alerts for Scenario Errors
      • Make Scenario Not Valid in OE
      • Digital Processes Blocked by Scenario Errors
      • Invalid Digital Processes
Powered by GitBook
LogoLogo

Resources

  • Emporix.com
  • Developer Policy
  • Terms of Use

Find us

  • LinkedIn

© 2025 Emporix. All Rights Reserved.

On this page
  • Filters
  • Decisions
  • JSON Logic

Was this helpful?

Export as PDF
  1. Digital Processes
  2. Working with Digital Processes

Conditional Process Runs

Set conditions when to run a digital process and its steps.

PreviousTesting a Digital ProcessNextOE Make Modules

Last updated 22 days ago

Was this helpful?

For every step of your digital process, you can add a condition that would be used by the process context to decide whether the particular step should be processed or not. You can set up a filter or a rule that serves as conditional logic for the step. All of the conditions are evaluated by the Decision Engine to affect the process.

It's possible to add conditional logic to every process step and to triggers that serve as mid-process triggers in your digital process. However, it's not possible to add logic to a start trigger, which is the first step of the whole process. Whenever you have conditional logic applied to a step, you can check the condition in the and evaluate the outcome of its execution or non-execution.

To be able to set a filter or a decision, you have to have a process step created first. Then, the +Add logic button appears.

Filters

Filters allow a step to only act on a selected event type. It is possible to add more than one filter for the same step. If you set filters for specific event types within a step, it means that the digital process step will run only if the conditions of the filter are met. If they are not met, the process step is skipped. Filters use the event types that are configured for your OE tenant.

To open the filter settings window:

  1. Choose Add Logic in a chosen process step, it opens a window with a visible Filter tab.

  2. Choose an Event Type from the drop-down list. The list shows event types that are configured for the tenant and available for the scenario context. It's possible to select multiple event types at one time.

Decisions

Decisions work on the level of evaluating whether an action should be taken or not. It means, they allow setting up a condition for the step that is evaluated on a true / false logic.

To open the decision window choose Add Logic in a chosen process step and go to the Decision tab.

JSON Logic

Custom operators:

  • businessRule - References a rule defined in the rulestore.

    The first expected value is the ID for the rule that you want to use, and the others are the variables that should be available for the referenced business rule. These variables are indicated as value pairs.

    • Rulestore

    // ID: "01ARZ3NDEKTSV4RRFFQ69G5FAV"
    {"==": [{"var": "a"}, {"var": "b"}]}
    • Logic

    {"businessRule": ["01ARZ3NDEKTSV4RRFFQ69G5FAV", ["a", 1], ["b", {"var": "n"}]]}
    • Data

    {"n": 1}
    • Result

    true
  • context - This is used to access a dynamic value inside the process context in a way similar to the var operator. If access to a dotted key is needed, the dotted key should be quoted with backquotes (`).

    • Logic

    {"context":  "`key.with.dots`.boolean"}
    • Process Context

    {"key.with.dots": {"boolean": true}}
    • Result

    true

This operator is valid within the digital process logic. Since the process context does not exist within the Rulestore, the necessary variables must be included as parameters.

Extended behavior:

  • var - Inside a digital process the data means the context with the parent key.

    For example if the process context is:

    {"event": {"key": "value"}}

    Then, the data for the JSON logic expression would be:

    {"context":  {"event": {"key": "value"}}}

    Dotted keys must be backquoted to work.

    • Logic

    {"var":  "context.`key.with.dots`.boolean"}
    • Process Context

    {"key.with.dots": {"boolean": true}}
    • Result

    true

For the decisions, we use the JSON logic expression language and extend it with custom operators. The JSON logic expression can be either a direct expression placed in the field, or it can refer to a rule created in the .

To learn about the rules creation in OE, see the documentation.

For the full list of JsonLogic operators, see the guide.

Rulestore
Rulestore
JsonLogic
debugger