Skip to main content
You can write workflow expressions as a way to vary parts of a workflow based on a set of conditions. For example, if you want to escalate an incident to the specific on-call engineer for the affected product, Expressions will let you do that. This looks something like this:
  • If Affected Service is Payments:
    • Escalation Team = Payments Team
  • Else if Affected Service is Onboarding:
    • Escalation Team = Onboarding Team
  • Else:
    • Escalation Team is not set
Later on in your workflow, you can then use Escalation Team in any step that expects that type. So, we could pair that with an Escalate to PagerDuty step that uses the Escalation Team.

Defining an expression

  • Open Workflows in your dashboard and create or edit a workflow.
  • Navigate to the Workflow step where you want to use an expression, click “Use a variable” and then Add new expression to begin creating an expression.