1. Packages
  2. Incident Provider
  3. API Docs
  4. Workflow
incident 5.4.1 published on Wednesday, Apr 9, 2025 by incident-io

incident.Workflow

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";

// This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
const autoassignIncidentLead = new incident.Workflow("autoassignIncidentLead", {
    conditionGroups: [{
        conditions: [{
            operation: "is_set",
            paramBindings: [],
            subject: "user",
        }],
    }],
    continueOnStepError: false,
    expressions: [],
    includePrivateIncidents: false,
    onceFors: ["incident"],
    runsOnIncidentModes: ["standard"],
    runsOnIncidents: "newly_created_and_active",
    state: "draft",
    steps: [{
        id: "01HY0QG9WT62CEYJN8JD74MJNR",
        name: "incident.assign_role",
        paramBindings: [
            {
                value: {
                    reference: "incident",
                },
            },
            {
                value: {
                    literal: "01HB0ZG24MPVF28Z5NF18DQT84",
                },
            },
            {
                value: {
                    reference: "user",
                },
            },
        ],
    }],
    trigger: "escalation.acked",
});
Copy
import pulumi
import pulumi_incident as incident

# This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
autoassign_incident_lead = incident.Workflow("autoassignIncidentLead",
    condition_groups=[{
        "conditions": [{
            "operation": "is_set",
            "param_bindings": [],
            "subject": "user",
        }],
    }],
    continue_on_step_error=False,
    expressions=[],
    include_private_incidents=False,
    once_fors=["incident"],
    runs_on_incident_modes=["standard"],
    runs_on_incidents="newly_created_and_active",
    state="draft",
    steps=[{
        "id": "01HY0QG9WT62CEYJN8JD74MJNR",
        "name": "incident.assign_role",
        "param_bindings": [
            {
                "value": {
                    "reference": "incident",
                },
            },
            {
                "value": {
                    "literal": "01HB0ZG24MPVF28Z5NF18DQT84",
                },
            },
            {
                "value": {
                    "reference": "user",
                },
            },
        ],
    }],
    trigger="escalation.acked")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v5/incident"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
		_, err := incident.NewWorkflow(ctx, "autoassignIncidentLead", &incident.WorkflowArgs{
			ConditionGroups: incident.WorkflowConditionGroupArray{
				&incident.WorkflowConditionGroupArgs{
					Conditions: incident.WorkflowConditionGroupConditionArray{
						&incident.WorkflowConditionGroupConditionArgs{
							Operation:     pulumi.String("is_set"),
							ParamBindings: incident.WorkflowConditionGroupConditionParamBindingArray{},
							Subject:       pulumi.String("user"),
						},
					},
				},
			},
			ContinueOnStepError:     pulumi.Bool(false),
			Expressions:             incident.WorkflowExpressionArray{},
			IncludePrivateIncidents: pulumi.Bool(false),
			OnceFors: pulumi.StringArray{
				pulumi.String("incident"),
			},
			RunsOnIncidentModes: pulumi.StringArray{
				pulumi.String("standard"),
			},
			RunsOnIncidents: pulumi.String("newly_created_and_active"),
			State:           pulumi.String("draft"),
			Steps: incident.WorkflowStepArray{
				&incident.WorkflowStepArgs{
					Id:   pulumi.String("01HY0QG9WT62CEYJN8JD74MJNR"),
					Name: pulumi.String("incident.assign_role"),
					ParamBindings: incident.WorkflowStepParamBindingArray{
						&incident.WorkflowStepParamBindingArgs{
							Value: &incident.WorkflowStepParamBindingValueArgs{
								Reference: pulumi.String("incident"),
							},
						},
						&incident.WorkflowStepParamBindingArgs{
							Value: &incident.WorkflowStepParamBindingValueArgs{
								Literal: pulumi.String("01HB0ZG24MPVF28Z5NF18DQT84"),
							},
						},
						&incident.WorkflowStepParamBindingArgs{
							Value: &incident.WorkflowStepParamBindingValueArgs{
								Reference: pulumi.String("user"),
							},
						},
					},
				},
			},
			Trigger: pulumi.String("escalation.acked"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;

return await Deployment.RunAsync(() => 
{
    // This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
    var autoassignIncidentLead = new Incident.Workflow("autoassignIncidentLead", new()
    {
        ConditionGroups = new[]
        {
            new Incident.Inputs.WorkflowConditionGroupArgs
            {
                Conditions = new[]
                {
                    new Incident.Inputs.WorkflowConditionGroupConditionArgs
                    {
                        Operation = "is_set",
                        ParamBindings = new() { },
                        Subject = "user",
                    },
                },
            },
        },
        ContinueOnStepError = false,
        Expressions = new[] {},
        IncludePrivateIncidents = false,
        OnceFors = new[]
        {
            "incident",
        },
        RunsOnIncidentModes = new[]
        {
            "standard",
        },
        RunsOnIncidents = "newly_created_and_active",
        State = "draft",
        Steps = new[]
        {
            new Incident.Inputs.WorkflowStepArgs
            {
                Id = "01HY0QG9WT62CEYJN8JD74MJNR",
                Name = "incident.assign_role",
                ParamBindings = new[]
                {
                    new Incident.Inputs.WorkflowStepParamBindingArgs
                    {
                        Value = new Incident.Inputs.WorkflowStepParamBindingValueArgs
                        {
                            Reference = "incident",
                        },
                    },
                    new Incident.Inputs.WorkflowStepParamBindingArgs
                    {
                        Value = new Incident.Inputs.WorkflowStepParamBindingValueArgs
                        {
                            Literal = "01HB0ZG24MPVF28Z5NF18DQT84",
                        },
                    },
                    new Incident.Inputs.WorkflowStepParamBindingArgs
                    {
                        Value = new Incident.Inputs.WorkflowStepParamBindingValueArgs
                        {
                            Reference = "user",
                        },
                    },
                },
            },
        },
        Trigger = "escalation.acked",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incident.Workflow;
import com.pulumi.incident.WorkflowArgs;
import com.pulumi.incident.inputs.WorkflowConditionGroupArgs;
import com.pulumi.incident.inputs.WorkflowStepArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        // This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
        var autoassignIncidentLead = new Workflow("autoassignIncidentLead", WorkflowArgs.builder()
            .conditionGroups(WorkflowConditionGroupArgs.builder()
                .conditions(WorkflowConditionGroupConditionArgs.builder()
                    .operation("is_set")
                    .paramBindings()
                    .subject("user")
                    .build())
                .build())
            .continueOnStepError(false)
            .expressions()
            .includePrivateIncidents(false)
            .onceFors("incident")
            .runsOnIncidentModes("standard")
            .runsOnIncidents("newly_created_and_active")
            .state("draft")
            .steps(WorkflowStepArgs.builder()
                .id("01HY0QG9WT62CEYJN8JD74MJNR")
                .name("incident.assign_role")
                .paramBindings(                
                    WorkflowStepParamBindingArgs.builder()
                        .value(WorkflowStepParamBindingValueArgs.builder()
                            .reference("incident")
                            .build())
                        .build(),
                    WorkflowStepParamBindingArgs.builder()
                        .value(WorkflowStepParamBindingValueArgs.builder()
                            .literal("01HB0ZG24MPVF28Z5NF18DQT84")
                            .build())
                        .build(),
                    WorkflowStepParamBindingArgs.builder()
                        .value(WorkflowStepParamBindingValueArgs.builder()
                            .reference("user")
                            .build())
                        .build())
                .build())
            .trigger("escalation.acked")
            .build());

    }
}
Copy
resources:
  # This is a workflow that automatically assigns the incident lead role to the user who acked an escalation.
  autoassignIncidentLead:
    type: incident:Workflow
    properties:
      conditionGroups:
        - conditions:
            - operation: is_set
              paramBindings: []
              subject: user
      continueOnStepError: false
      expressions: []
      includePrivateIncidents: false
      onceFors:
        - incident
      runsOnIncidentModes:
        - standard
      runsOnIncidents: newly_created_and_active
      state: draft
      steps:
        - id: 01HY0QG9WT62CEYJN8JD74MJNR
          name: incident.assign_role
          paramBindings:
            - value:
                reference: incident
            - value:
                literal: 01HB0ZG24MPVF28Z5NF18DQT84
            - value:
                reference: user
      trigger: escalation.acked
Copy

Create Workflow Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Workflow(name: string, args: WorkflowArgs, opts?: CustomResourceOptions);
@overload
def Workflow(resource_name: str,
             args: WorkflowArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Workflow(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             runs_on_incidents: Optional[str] = None,
             state: Optional[str] = None,
             trigger: Optional[str] = None,
             expressions: Optional[Sequence[WorkflowExpressionArgs]] = None,
             once_fors: Optional[Sequence[str]] = None,
             include_private_incidents: Optional[bool] = None,
             runs_on_incident_modes: Optional[Sequence[str]] = None,
             steps: Optional[Sequence[WorkflowStepArgs]] = None,
             continue_on_step_error: Optional[bool] = None,
             condition_groups: Optional[Sequence[WorkflowConditionGroupArgs]] = None,
             folder: Optional[str] = None,
             shortform: Optional[str] = None,
             name: Optional[str] = None,
             delay: Optional[WorkflowDelayArgs] = None)
func NewWorkflow(ctx *Context, name string, args WorkflowArgs, opts ...ResourceOption) (*Workflow, error)
public Workflow(string name, WorkflowArgs args, CustomResourceOptions? opts = null)
public Workflow(String name, WorkflowArgs args)
public Workflow(String name, WorkflowArgs args, CustomResourceOptions options)
type: incident:Workflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WorkflowArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WorkflowArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WorkflowArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var workflowResource = new Incident.Workflow("workflowResource", new()
{
    RunsOnIncidents = "string",
    State = "string",
    Trigger = "string",
    Expressions = new[]
    {
        new Incident.Inputs.WorkflowExpressionArgs
        {
            Label = "string",
            Operations = new[]
            {
                new Incident.Inputs.WorkflowExpressionOperationArgs
                {
                    OperationType = "string",
                    Branches = new Incident.Inputs.WorkflowExpressionOperationBranchesArgs
                    {
                        Branches = new[]
                        {
                            new Incident.Inputs.WorkflowExpressionOperationBranchesBranchArgs
                            {
                                ConditionGroups = new[]
                                {
                                    new Incident.Inputs.WorkflowExpressionOperationBranchesBranchConditionGroupArgs
                                    {
                                        Conditions = new[]
                                        {
                                            new Incident.Inputs.WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs
                                            {
                                                Operation = "string",
                                                ParamBindings = new[]
                                                {
                                                    new Incident.Inputs.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs
                                                    {
                                                        ArrayValues = new[]
                                                        {
                                                            new Incident.Inputs.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs
                                                            {
                                                                Literal = "string",
                                                                Reference = "string",
                                                            },
                                                        },
                                                        Value = new Incident.Inputs.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs
                                                        {
                                                            Literal = "string",
                                                            Reference = "string",
                                                        },
                                                    },
                                                },
                                                Subject = "string",
                                            },
                                        },
                                    },
                                },
                                Result = new Incident.Inputs.WorkflowExpressionOperationBranchesBranchResultArgs
                                {
                                    ArrayValues = new[]
                                    {
                                        new Incident.Inputs.WorkflowExpressionOperationBranchesBranchResultArrayValueArgs
                                        {
                                            Literal = "string",
                                            Reference = "string",
                                        },
                                    },
                                    Value = new Incident.Inputs.WorkflowExpressionOperationBranchesBranchResultValueArgs
                                    {
                                        Literal = "string",
                                        Reference = "string",
                                    },
                                },
                            },
                        },
                        Returns = new Incident.Inputs.WorkflowExpressionOperationBranchesReturnsArgs
                        {
                            Array = false,
                            Type = "string",
                        },
                    },
                    Filter = new Incident.Inputs.WorkflowExpressionOperationFilterArgs
                    {
                        ConditionGroups = new[]
                        {
                            new Incident.Inputs.WorkflowExpressionOperationFilterConditionGroupArgs
                            {
                                Conditions = new[]
                                {
                                    new Incident.Inputs.WorkflowExpressionOperationFilterConditionGroupConditionArgs
                                    {
                                        Operation = "string",
                                        ParamBindings = new[]
                                        {
                                            new Incident.Inputs.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArgs
                                            {
                                                ArrayValues = new[]
                                                {
                                                    new Incident.Inputs.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs
                                                    {
                                                        Literal = "string",
                                                        Reference = "string",
                                                    },
                                                },
                                                Value = new Incident.Inputs.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValueArgs
                                                {
                                                    Literal = "string",
                                                    Reference = "string",
                                                },
                                            },
                                        },
                                        Subject = "string",
                                    },
                                },
                            },
                        },
                    },
                    Navigate = new Incident.Inputs.WorkflowExpressionOperationNavigateArgs
                    {
                        Reference = "string",
                    },
                    Parse = new Incident.Inputs.WorkflowExpressionOperationParseArgs
                    {
                        Returns = new Incident.Inputs.WorkflowExpressionOperationParseReturnsArgs
                        {
                            Array = false,
                            Type = "string",
                        },
                        Source = "string",
                    },
                },
            },
            Reference = "string",
            RootReference = "string",
            ElseBranch = new Incident.Inputs.WorkflowExpressionElseBranchArgs
            {
                Result = new Incident.Inputs.WorkflowExpressionElseBranchResultArgs
                {
                    ArrayValues = new[]
                    {
                        new Incident.Inputs.WorkflowExpressionElseBranchResultArrayValueArgs
                        {
                            Literal = "string",
                            Reference = "string",
                        },
                    },
                    Value = new Incident.Inputs.WorkflowExpressionElseBranchResultValueArgs
                    {
                        Literal = "string",
                        Reference = "string",
                    },
                },
            },
        },
    },
    OnceFors = new[]
    {
        "string",
    },
    IncludePrivateIncidents = false,
    RunsOnIncidentModes = new[]
    {
        "string",
    },
    Steps = new[]
    {
        new Incident.Inputs.WorkflowStepArgs
        {
            Id = "string",
            Name = "string",
            ParamBindings = new[]
            {
                new Incident.Inputs.WorkflowStepParamBindingArgs
                {
                    ArrayValues = new[]
                    {
                        new Incident.Inputs.WorkflowStepParamBindingArrayValueArgs
                        {
                            Literal = "string",
                            Reference = "string",
                        },
                    },
                    Value = new Incident.Inputs.WorkflowStepParamBindingValueArgs
                    {
                        Literal = "string",
                        Reference = "string",
                    },
                },
            },
            ForEach = "string",
        },
    },
    ContinueOnStepError = false,
    ConditionGroups = new[]
    {
        new Incident.Inputs.WorkflowConditionGroupArgs
        {
            Conditions = new[]
            {
                new Incident.Inputs.WorkflowConditionGroupConditionArgs
                {
                    Operation = "string",
                    ParamBindings = new[]
                    {
                        new Incident.Inputs.WorkflowConditionGroupConditionParamBindingArgs
                        {
                            ArrayValues = new[]
                            {
                                new Incident.Inputs.WorkflowConditionGroupConditionParamBindingArrayValueArgs
                                {
                                    Literal = "string",
                                    Reference = "string",
                                },
                            },
                            Value = new Incident.Inputs.WorkflowConditionGroupConditionParamBindingValueArgs
                            {
                                Literal = "string",
                                Reference = "string",
                            },
                        },
                    },
                    Subject = "string",
                },
            },
        },
    },
    Folder = "string",
    Shortform = "string",
    Name = "string",
    Delay = new Incident.Inputs.WorkflowDelayArgs
    {
        ConditionsApplyOverDelay = false,
        ForSeconds = 0,
    },
});
Copy
example, err := incident.NewWorkflow(ctx, "workflowResource", &incident.WorkflowArgs{
RunsOnIncidents: pulumi.String("string"),
State: pulumi.String("string"),
Trigger: pulumi.String("string"),
Expressions: .WorkflowExpressionArray{
&.WorkflowExpressionArgs{
Label: pulumi.String("string"),
Operations: .WorkflowExpressionOperationArray{
&.WorkflowExpressionOperationArgs{
OperationType: pulumi.String("string"),
Branches: &.WorkflowExpressionOperationBranchesArgs{
Branches: .WorkflowExpressionOperationBranchesBranchArray{
&.WorkflowExpressionOperationBranchesBranchArgs{
ConditionGroups: .WorkflowExpressionOperationBranchesBranchConditionGroupArray{
&.WorkflowExpressionOperationBranchesBranchConditionGroupArgs{
Conditions: .WorkflowExpressionOperationBranchesBranchConditionGroupConditionArray{
&.WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs{
Operation: pulumi.String("string"),
ParamBindings: .WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArray{
&.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs{
ArrayValues: .WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArray{
&.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
Subject: pulumi.String("string"),
},
},
},
},
Result: &.WorkflowExpressionOperationBranchesBranchResultArgs{
ArrayValues: .WorkflowExpressionOperationBranchesBranchResultArrayValueArray{
&.WorkflowExpressionOperationBranchesBranchResultArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowExpressionOperationBranchesBranchResultValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
},
Returns: &.WorkflowExpressionOperationBranchesReturnsArgs{
Array: pulumi.Bool(false),
Type: pulumi.String("string"),
},
},
Filter: &.WorkflowExpressionOperationFilterArgs{
ConditionGroups: .WorkflowExpressionOperationFilterConditionGroupArray{
&.WorkflowExpressionOperationFilterConditionGroupArgs{
Conditions: .WorkflowExpressionOperationFilterConditionGroupConditionArray{
&.WorkflowExpressionOperationFilterConditionGroupConditionArgs{
Operation: pulumi.String("string"),
ParamBindings: .WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArray{
&.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArgs{
ArrayValues: .WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArray{
&.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
Subject: pulumi.String("string"),
},
},
},
},
},
Navigate: &.WorkflowExpressionOperationNavigateArgs{
Reference: pulumi.String("string"),
},
Parse: &.WorkflowExpressionOperationParseArgs{
Returns: &.WorkflowExpressionOperationParseReturnsArgs{
Array: pulumi.Bool(false),
Type: pulumi.String("string"),
},
Source: pulumi.String("string"),
},
},
},
Reference: pulumi.String("string"),
RootReference: pulumi.String("string"),
ElseBranch: &.WorkflowExpressionElseBranchArgs{
Result: &.WorkflowExpressionElseBranchResultArgs{
ArrayValues: .WorkflowExpressionElseBranchResultArrayValueArray{
&.WorkflowExpressionElseBranchResultArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowExpressionElseBranchResultValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
},
},
OnceFors: pulumi.StringArray{
pulumi.String("string"),
},
IncludePrivateIncidents: pulumi.Bool(false),
RunsOnIncidentModes: pulumi.StringArray{
pulumi.String("string"),
},
Steps: .WorkflowStepArray{
&.WorkflowStepArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
ParamBindings: .WorkflowStepParamBindingArray{
&.WorkflowStepParamBindingArgs{
ArrayValues: .WorkflowStepParamBindingArrayValueArray{
&.WorkflowStepParamBindingArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowStepParamBindingValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
ForEach: pulumi.String("string"),
},
},
ContinueOnStepError: pulumi.Bool(false),
ConditionGroups: .WorkflowConditionGroupArray{
&.WorkflowConditionGroupArgs{
Conditions: .WorkflowConditionGroupConditionArray{
&.WorkflowConditionGroupConditionArgs{
Operation: pulumi.String("string"),
ParamBindings: .WorkflowConditionGroupConditionParamBindingArray{
&.WorkflowConditionGroupConditionParamBindingArgs{
ArrayValues: .WorkflowConditionGroupConditionParamBindingArrayValueArray{
&.WorkflowConditionGroupConditionParamBindingArrayValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
Value: &.WorkflowConditionGroupConditionParamBindingValueArgs{
Literal: pulumi.String("string"),
Reference: pulumi.String("string"),
},
},
},
Subject: pulumi.String("string"),
},
},
},
},
Folder: pulumi.String("string"),
Shortform: pulumi.String("string"),
Name: pulumi.String("string"),
Delay: &.WorkflowDelayArgs{
ConditionsApplyOverDelay: pulumi.Bool(false),
ForSeconds: pulumi.Float64(0),
},
})
Copy
var workflowResource = new Workflow("workflowResource", WorkflowArgs.builder()
    .runsOnIncidents("string")
    .state("string")
    .trigger("string")
    .expressions(WorkflowExpressionArgs.builder()
        .label("string")
        .operations(WorkflowExpressionOperationArgs.builder()
            .operationType("string")
            .branches(WorkflowExpressionOperationBranchesArgs.builder()
                .branches(WorkflowExpressionOperationBranchesBranchArgs.builder()
                    .conditionGroups(WorkflowExpressionOperationBranchesBranchConditionGroupArgs.builder()
                        .conditions(WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs.builder()
                            .operation("string")
                            .paramBindings(WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs.builder()
                                .arrayValues(WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs.builder()
                                    .literal("string")
                                    .reference("string")
                                    .build())
                                .value(WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs.builder()
                                    .literal("string")
                                    .reference("string")
                                    .build())
                                .build())
                            .subject("string")
                            .build())
                        .build())
                    .result(WorkflowExpressionOperationBranchesBranchResultArgs.builder()
                        .arrayValues(WorkflowExpressionOperationBranchesBranchResultArrayValueArgs.builder()
                            .literal("string")
                            .reference("string")
                            .build())
                        .value(WorkflowExpressionOperationBranchesBranchResultValueArgs.builder()
                            .literal("string")
                            .reference("string")
                            .build())
                        .build())
                    .build())
                .returns(WorkflowExpressionOperationBranchesReturnsArgs.builder()
                    .array(false)
                    .type("string")
                    .build())
                .build())
            .filter(WorkflowExpressionOperationFilterArgs.builder()
                .conditionGroups(WorkflowExpressionOperationFilterConditionGroupArgs.builder()
                    .conditions(WorkflowExpressionOperationFilterConditionGroupConditionArgs.builder()
                        .operation("string")
                        .paramBindings(WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArgs.builder()
                            .arrayValues(WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs.builder()
                                .literal("string")
                                .reference("string")
                                .build())
                            .value(WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValueArgs.builder()
                                .literal("string")
                                .reference("string")
                                .build())
                            .build())
                        .subject("string")
                        .build())
                    .build())
                .build())
            .navigate(WorkflowExpressionOperationNavigateArgs.builder()
                .reference("string")
                .build())
            .parse(WorkflowExpressionOperationParseArgs.builder()
                .returns(WorkflowExpressionOperationParseReturnsArgs.builder()
                    .array(false)
                    .type("string")
                    .build())
                .source("string")
                .build())
            .build())
        .reference("string")
        .rootReference("string")
        .elseBranch(WorkflowExpressionElseBranchArgs.builder()
            .result(WorkflowExpressionElseBranchResultArgs.builder()
                .arrayValues(WorkflowExpressionElseBranchResultArrayValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .value(WorkflowExpressionElseBranchResultValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .build())
            .build())
        .build())
    .onceFors("string")
    .includePrivateIncidents(false)
    .runsOnIncidentModes("string")
    .steps(WorkflowStepArgs.builder()
        .id("string")
        .name("string")
        .paramBindings(WorkflowStepParamBindingArgs.builder()
            .arrayValues(WorkflowStepParamBindingArrayValueArgs.builder()
                .literal("string")
                .reference("string")
                .build())
            .value(WorkflowStepParamBindingValueArgs.builder()
                .literal("string")
                .reference("string")
                .build())
            .build())
        .forEach("string")
        .build())
    .continueOnStepError(false)
    .conditionGroups(WorkflowConditionGroupArgs.builder()
        .conditions(WorkflowConditionGroupConditionArgs.builder()
            .operation("string")
            .paramBindings(WorkflowConditionGroupConditionParamBindingArgs.builder()
                .arrayValues(WorkflowConditionGroupConditionParamBindingArrayValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .value(WorkflowConditionGroupConditionParamBindingValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .build())
            .subject("string")
            .build())
        .build())
    .folder("string")
    .shortform("string")
    .name("string")
    .delay(WorkflowDelayArgs.builder()
        .conditionsApplyOverDelay(false)
        .forSeconds(0)
        .build())
    .build());
Copy
workflow_resource = incident.Workflow("workflowResource",
    runs_on_incidents="string",
    state="string",
    trigger="string",
    expressions=[{
        "label": "string",
        "operations": [{
            "operation_type": "string",
            "branches": {
                "branches": [{
                    "condition_groups": [{
                        "conditions": [{
                            "operation": "string",
                            "param_bindings": [{
                                "array_values": [{
                                    "literal": "string",
                                    "reference": "string",
                                }],
                                "value": {
                                    "literal": "string",
                                    "reference": "string",
                                },
                            }],
                            "subject": "string",
                        }],
                    }],
                    "result": {
                        "array_values": [{
                            "literal": "string",
                            "reference": "string",
                        }],
                        "value": {
                            "literal": "string",
                            "reference": "string",
                        },
                    },
                }],
                "returns": {
                    "array": False,
                    "type": "string",
                },
            },
            "filter": {
                "condition_groups": [{
                    "conditions": [{
                        "operation": "string",
                        "param_bindings": [{
                            "array_values": [{
                                "literal": "string",
                                "reference": "string",
                            }],
                            "value": {
                                "literal": "string",
                                "reference": "string",
                            },
                        }],
                        "subject": "string",
                    }],
                }],
            },
            "navigate": {
                "reference": "string",
            },
            "parse": {
                "returns": {
                    "array": False,
                    "type": "string",
                },
                "source": "string",
            },
        }],
        "reference": "string",
        "root_reference": "string",
        "else_branch": {
            "result": {
                "array_values": [{
                    "literal": "string",
                    "reference": "string",
                }],
                "value": {
                    "literal": "string",
                    "reference": "string",
                },
            },
        },
    }],
    once_fors=["string"],
    include_private_incidents=False,
    runs_on_incident_modes=["string"],
    steps=[{
        "id": "string",
        "name": "string",
        "param_bindings": [{
            "array_values": [{
                "literal": "string",
                "reference": "string",
            }],
            "value": {
                "literal": "string",
                "reference": "string",
            },
        }],
        "for_each": "string",
    }],
    continue_on_step_error=False,
    condition_groups=[{
        "conditions": [{
            "operation": "string",
            "param_bindings": [{
                "array_values": [{
                    "literal": "string",
                    "reference": "string",
                }],
                "value": {
                    "literal": "string",
                    "reference": "string",
                },
            }],
            "subject": "string",
        }],
    }],
    folder="string",
    shortform="string",
    name="string",
    delay={
        "conditions_apply_over_delay": False,
        "for_seconds": 0,
    })
Copy
const workflowResource = new incident.Workflow("workflowResource", {
    runsOnIncidents: "string",
    state: "string",
    trigger: "string",
    expressions: [{
        label: "string",
        operations: [{
            operationType: "string",
            branches: {
                branches: [{
                    conditionGroups: [{
                        conditions: [{
                            operation: "string",
                            paramBindings: [{
                                arrayValues: [{
                                    literal: "string",
                                    reference: "string",
                                }],
                                value: {
                                    literal: "string",
                                    reference: "string",
                                },
                            }],
                            subject: "string",
                        }],
                    }],
                    result: {
                        arrayValues: [{
                            literal: "string",
                            reference: "string",
                        }],
                        value: {
                            literal: "string",
                            reference: "string",
                        },
                    },
                }],
                returns: {
                    array: false,
                    type: "string",
                },
            },
            filter: {
                conditionGroups: [{
                    conditions: [{
                        operation: "string",
                        paramBindings: [{
                            arrayValues: [{
                                literal: "string",
                                reference: "string",
                            }],
                            value: {
                                literal: "string",
                                reference: "string",
                            },
                        }],
                        subject: "string",
                    }],
                }],
            },
            navigate: {
                reference: "string",
            },
            parse: {
                returns: {
                    array: false,
                    type: "string",
                },
                source: "string",
            },
        }],
        reference: "string",
        rootReference: "string",
        elseBranch: {
            result: {
                arrayValues: [{
                    literal: "string",
                    reference: "string",
                }],
                value: {
                    literal: "string",
                    reference: "string",
                },
            },
        },
    }],
    onceFors: ["string"],
    includePrivateIncidents: false,
    runsOnIncidentModes: ["string"],
    steps: [{
        id: "string",
        name: "string",
        paramBindings: [{
            arrayValues: [{
                literal: "string",
                reference: "string",
            }],
            value: {
                literal: "string",
                reference: "string",
            },
        }],
        forEach: "string",
    }],
    continueOnStepError: false,
    conditionGroups: [{
        conditions: [{
            operation: "string",
            paramBindings: [{
                arrayValues: [{
                    literal: "string",
                    reference: "string",
                }],
                value: {
                    literal: "string",
                    reference: "string",
                },
            }],
            subject: "string",
        }],
    }],
    folder: "string",
    shortform: "string",
    name: "string",
    delay: {
        conditionsApplyOverDelay: false,
        forSeconds: 0,
    },
});
Copy
type: incident:Workflow
properties:
    conditionGroups:
        - conditions:
            - operation: string
              paramBindings:
                - arrayValues:
                    - literal: string
                      reference: string
                  value:
                    literal: string
                    reference: string
              subject: string
    continueOnStepError: false
    delay:
        conditionsApplyOverDelay: false
        forSeconds: 0
    expressions:
        - elseBranch:
            result:
                arrayValues:
                    - literal: string
                      reference: string
                value:
                    literal: string
                    reference: string
          label: string
          operations:
            - branches:
                branches:
                    - conditionGroups:
                        - conditions:
                            - operation: string
                              paramBindings:
                                - arrayValues:
                                    - literal: string
                                      reference: string
                                  value:
                                    literal: string
                                    reference: string
                              subject: string
                      result:
                        arrayValues:
                            - literal: string
                              reference: string
                        value:
                            literal: string
                            reference: string
                returns:
                    array: false
                    type: string
              filter:
                conditionGroups:
                    - conditions:
                        - operation: string
                          paramBindings:
                            - arrayValues:
                                - literal: string
                                  reference: string
                              value:
                                literal: string
                                reference: string
                          subject: string
              navigate:
                reference: string
              operationType: string
              parse:
                returns:
                    array: false
                    type: string
                source: string
          reference: string
          rootReference: string
    folder: string
    includePrivateIncidents: false
    name: string
    onceFors:
        - string
    runsOnIncidentModes:
        - string
    runsOnIncidents: string
    shortform: string
    state: string
    steps:
        - forEach: string
          id: string
          name: string
          paramBindings:
            - arrayValues:
                - literal: string
                  reference: string
              value:
                literal: string
                reference: string
    trigger: string
Copy

Workflow Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Workflow resource accepts the following input properties:

ConditionGroups This property is required. List<WorkflowConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
ContinueOnStepError This property is required. bool
Whether to continue executing the workflow if a step fails
Expressions This property is required. List<WorkflowExpression>
The expressions to be prepared for use by steps and conditions
IncludePrivateIncidents This property is required. bool
Whether to include private incidents
OnceFors This property is required. List<string>
This workflow will run 'once for' a list of references
RunsOnIncidentModes This property is required. List<string>
Incidents in these modes will be affected by the workflow
RunsOnIncidents This property is required. string
Which incidents should the workflow be applied to?
State This property is required. string
What state this workflow is in
Steps This property is required. List<WorkflowStep>
Steps that are executed as part of the workflow
Trigger This property is required. string
Unique name of the trigger
Delay WorkflowDelay
Configuration controlling workflow delay behaviour
Folder string
Folder to display the workflow in
Name string
Name provided by the user when creating the workflow
Shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
ConditionGroups This property is required. []WorkflowConditionGroupArgs
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
ContinueOnStepError This property is required. bool
Whether to continue executing the workflow if a step fails
Expressions This property is required. []WorkflowExpressionArgs
The expressions to be prepared for use by steps and conditions
IncludePrivateIncidents This property is required. bool
Whether to include private incidents
OnceFors This property is required. []string
This workflow will run 'once for' a list of references
RunsOnIncidentModes This property is required. []string
Incidents in these modes will be affected by the workflow
RunsOnIncidents This property is required. string
Which incidents should the workflow be applied to?
State This property is required. string
What state this workflow is in
Steps This property is required. []WorkflowStepArgs
Steps that are executed as part of the workflow
Trigger This property is required. string
Unique name of the trigger
Delay WorkflowDelayArgs
Configuration controlling workflow delay behaviour
Folder string
Folder to display the workflow in
Name string
Name provided by the user when creating the workflow
Shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
conditionGroups This property is required. List<WorkflowConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError This property is required. Boolean
Whether to continue executing the workflow if a step fails
expressions This property is required. List<WorkflowExpression>
The expressions to be prepared for use by steps and conditions
includePrivateIncidents This property is required. Boolean
Whether to include private incidents
onceFors This property is required. List<String>
This workflow will run 'once for' a list of references
runsOnIncidentModes This property is required. List<String>
Incidents in these modes will be affected by the workflow
runsOnIncidents This property is required. String
Which incidents should the workflow be applied to?
state This property is required. String
What state this workflow is in
steps This property is required. List<WorkflowStep>
Steps that are executed as part of the workflow
trigger This property is required. String
Unique name of the trigger
delay WorkflowDelay
Configuration controlling workflow delay behaviour
folder String
Folder to display the workflow in
name String
Name provided by the user when creating the workflow
shortform String
The shortform used to trigger this workflow (only applicable for manual triggers)
conditionGroups This property is required. WorkflowConditionGroup[]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError This property is required. boolean
Whether to continue executing the workflow if a step fails
expressions This property is required. WorkflowExpression[]
The expressions to be prepared for use by steps and conditions
includePrivateIncidents This property is required. boolean
Whether to include private incidents
onceFors This property is required. string[]
This workflow will run 'once for' a list of references
runsOnIncidentModes This property is required. string[]
Incidents in these modes will be affected by the workflow
runsOnIncidents This property is required. string
Which incidents should the workflow be applied to?
state This property is required. string
What state this workflow is in
steps This property is required. WorkflowStep[]
Steps that are executed as part of the workflow
trigger This property is required. string
Unique name of the trigger
delay WorkflowDelay
Configuration controlling workflow delay behaviour
folder string
Folder to display the workflow in
name string
Name provided by the user when creating the workflow
shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
condition_groups This property is required. Sequence[WorkflowConditionGroupArgs]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continue_on_step_error This property is required. bool
Whether to continue executing the workflow if a step fails
expressions This property is required. Sequence[WorkflowExpressionArgs]
The expressions to be prepared for use by steps and conditions
include_private_incidents This property is required. bool
Whether to include private incidents
once_fors This property is required. Sequence[str]
This workflow will run 'once for' a list of references
runs_on_incident_modes This property is required. Sequence[str]
Incidents in these modes will be affected by the workflow
runs_on_incidents This property is required. str
Which incidents should the workflow be applied to?
state This property is required. str
What state this workflow is in
steps This property is required. Sequence[WorkflowStepArgs]
Steps that are executed as part of the workflow
trigger This property is required. str
Unique name of the trigger
delay WorkflowDelayArgs
Configuration controlling workflow delay behaviour
folder str
Folder to display the workflow in
name str
Name provided by the user when creating the workflow
shortform str
The shortform used to trigger this workflow (only applicable for manual triggers)
conditionGroups This property is required. List<Property Map>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError This property is required. Boolean
Whether to continue executing the workflow if a step fails
expressions This property is required. List<Property Map>
The expressions to be prepared for use by steps and conditions
includePrivateIncidents This property is required. Boolean
Whether to include private incidents
onceFors This property is required. List<String>
This workflow will run 'once for' a list of references
runsOnIncidentModes This property is required. List<String>
Incidents in these modes will be affected by the workflow
runsOnIncidents This property is required. String
Which incidents should the workflow be applied to?
state This property is required. String
What state this workflow is in
steps This property is required. List<Property Map>
Steps that are executed as part of the workflow
trigger This property is required. String
Unique name of the trigger
delay Property Map
Configuration controlling workflow delay behaviour
folder String
Folder to display the workflow in
name String
Name provided by the user when creating the workflow
shortform String
The shortform used to trigger this workflow (only applicable for manual triggers)

Outputs

All input properties are implicitly available as output properties. Additionally, the Workflow resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Workflow Resource

Get an existing Workflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: WorkflowState, opts?: CustomResourceOptions): Workflow
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        condition_groups: Optional[Sequence[WorkflowConditionGroupArgs]] = None,
        continue_on_step_error: Optional[bool] = None,
        delay: Optional[WorkflowDelayArgs] = None,
        expressions: Optional[Sequence[WorkflowExpressionArgs]] = None,
        folder: Optional[str] = None,
        include_private_incidents: Optional[bool] = None,
        name: Optional[str] = None,
        once_fors: Optional[Sequence[str]] = None,
        runs_on_incident_modes: Optional[Sequence[str]] = None,
        runs_on_incidents: Optional[str] = None,
        shortform: Optional[str] = None,
        state: Optional[str] = None,
        steps: Optional[Sequence[WorkflowStepArgs]] = None,
        trigger: Optional[str] = None) -> Workflow
func GetWorkflow(ctx *Context, name string, id IDInput, state *WorkflowState, opts ...ResourceOption) (*Workflow, error)
public static Workflow Get(string name, Input<string> id, WorkflowState? state, CustomResourceOptions? opts = null)
public static Workflow get(String name, Output<String> id, WorkflowState state, CustomResourceOptions options)
resources:  _:    type: incident:Workflow    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ConditionGroups List<WorkflowConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
ContinueOnStepError bool
Whether to continue executing the workflow if a step fails
Delay WorkflowDelay
Configuration controlling workflow delay behaviour
Expressions List<WorkflowExpression>
The expressions to be prepared for use by steps and conditions
Folder string
Folder to display the workflow in
IncludePrivateIncidents bool
Whether to include private incidents
Name string
Name provided by the user when creating the workflow
OnceFors List<string>
This workflow will run 'once for' a list of references
RunsOnIncidentModes List<string>
Incidents in these modes will be affected by the workflow
RunsOnIncidents string
Which incidents should the workflow be applied to?
Shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
State string
What state this workflow is in
Steps List<WorkflowStep>
Steps that are executed as part of the workflow
Trigger string
Unique name of the trigger
ConditionGroups []WorkflowConditionGroupArgs
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
ContinueOnStepError bool
Whether to continue executing the workflow if a step fails
Delay WorkflowDelayArgs
Configuration controlling workflow delay behaviour
Expressions []WorkflowExpressionArgs
The expressions to be prepared for use by steps and conditions
Folder string
Folder to display the workflow in
IncludePrivateIncidents bool
Whether to include private incidents
Name string
Name provided by the user when creating the workflow
OnceFors []string
This workflow will run 'once for' a list of references
RunsOnIncidentModes []string
Incidents in these modes will be affected by the workflow
RunsOnIncidents string
Which incidents should the workflow be applied to?
Shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
State string
What state this workflow is in
Steps []WorkflowStepArgs
Steps that are executed as part of the workflow
Trigger string
Unique name of the trigger
conditionGroups List<WorkflowConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError Boolean
Whether to continue executing the workflow if a step fails
delay WorkflowDelay
Configuration controlling workflow delay behaviour
expressions List<WorkflowExpression>
The expressions to be prepared for use by steps and conditions
folder String
Folder to display the workflow in
includePrivateIncidents Boolean
Whether to include private incidents
name String
Name provided by the user when creating the workflow
onceFors List<String>
This workflow will run 'once for' a list of references
runsOnIncidentModes List<String>
Incidents in these modes will be affected by the workflow
runsOnIncidents String
Which incidents should the workflow be applied to?
shortform String
The shortform used to trigger this workflow (only applicable for manual triggers)
state String
What state this workflow is in
steps List<WorkflowStep>
Steps that are executed as part of the workflow
trigger String
Unique name of the trigger
conditionGroups WorkflowConditionGroup[]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError boolean
Whether to continue executing the workflow if a step fails
delay WorkflowDelay
Configuration controlling workflow delay behaviour
expressions WorkflowExpression[]
The expressions to be prepared for use by steps and conditions
folder string
Folder to display the workflow in
includePrivateIncidents boolean
Whether to include private incidents
name string
Name provided by the user when creating the workflow
onceFors string[]
This workflow will run 'once for' a list of references
runsOnIncidentModes string[]
Incidents in these modes will be affected by the workflow
runsOnIncidents string
Which incidents should the workflow be applied to?
shortform string
The shortform used to trigger this workflow (only applicable for manual triggers)
state string
What state this workflow is in
steps WorkflowStep[]
Steps that are executed as part of the workflow
trigger string
Unique name of the trigger
condition_groups Sequence[WorkflowConditionGroupArgs]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continue_on_step_error bool
Whether to continue executing the workflow if a step fails
delay WorkflowDelayArgs
Configuration controlling workflow delay behaviour
expressions Sequence[WorkflowExpressionArgs]
The expressions to be prepared for use by steps and conditions
folder str
Folder to display the workflow in
include_private_incidents bool
Whether to include private incidents
name str
Name provided by the user when creating the workflow
once_fors Sequence[str]
This workflow will run 'once for' a list of references
runs_on_incident_modes Sequence[str]
Incidents in these modes will be affected by the workflow
runs_on_incidents str
Which incidents should the workflow be applied to?
shortform str
The shortform used to trigger this workflow (only applicable for manual triggers)
state str
What state this workflow is in
steps Sequence[WorkflowStepArgs]
Steps that are executed as part of the workflow
trigger str
Unique name of the trigger
conditionGroups List<Property Map>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
continueOnStepError Boolean
Whether to continue executing the workflow if a step fails
delay Property Map
Configuration controlling workflow delay behaviour
expressions List<Property Map>
The expressions to be prepared for use by steps and conditions
folder String
Folder to display the workflow in
includePrivateIncidents Boolean
Whether to include private incidents
name String
Name provided by the user when creating the workflow
onceFors List<String>
This workflow will run 'once for' a list of references
runsOnIncidentModes List<String>
Incidents in these modes will be affected by the workflow
runsOnIncidents String
Which incidents should the workflow be applied to?
shortform String
The shortform used to trigger this workflow (only applicable for manual triggers)
state String
What state this workflow is in
steps List<Property Map>
Steps that are executed as part of the workflow
trigger String
Unique name of the trigger

Supporting Types

WorkflowConditionGroup
, WorkflowConditionGroupArgs

Conditions This property is required. List<WorkflowConditionGroupCondition>
The prerequisite conditions that must all be satisfied
Conditions This property is required. []WorkflowConditionGroupCondition
The prerequisite conditions that must all be satisfied
conditions This property is required. List<WorkflowConditionGroupCondition>
The prerequisite conditions that must all be satisfied
conditions This property is required. WorkflowConditionGroupCondition[]
The prerequisite conditions that must all be satisfied
conditions This property is required. Sequence[WorkflowConditionGroupCondition]
The prerequisite conditions that must all be satisfied
conditions This property is required. List<Property Map>
The prerequisite conditions that must all be satisfied

WorkflowConditionGroupCondition
, WorkflowConditionGroupConditionArgs

Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. List<WorkflowConditionGroupConditionParamBinding>
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. []WorkflowConditionGroupConditionParamBinding
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<WorkflowConditionGroupConditionParamBinding>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied
operation This property is required. string
The logical operation to be applied
paramBindings This property is required. WorkflowConditionGroupConditionParamBinding[]
Bindings for the operation parameters
subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. str
The logical operation to be applied
param_bindings This property is required. Sequence[WorkflowConditionGroupConditionParamBinding]
Bindings for the operation parameters
subject This property is required. str
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<Property Map>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied

WorkflowConditionGroupConditionParamBinding
, WorkflowConditionGroupConditionParamBindingArgs

ArrayValues List<WorkflowConditionGroupConditionParamBindingArrayValue>
The array of literal or reference parameter values
Value WorkflowConditionGroupConditionParamBindingValue
The literal or reference parameter value
ArrayValues []WorkflowConditionGroupConditionParamBindingArrayValue
The array of literal or reference parameter values
Value WorkflowConditionGroupConditionParamBindingValue
The literal or reference parameter value
arrayValues List<WorkflowConditionGroupConditionParamBindingArrayValue>
The array of literal or reference parameter values
value WorkflowConditionGroupConditionParamBindingValue
The literal or reference parameter value
arrayValues WorkflowConditionGroupConditionParamBindingArrayValue[]
The array of literal or reference parameter values
value WorkflowConditionGroupConditionParamBindingValue
The literal or reference parameter value
array_values Sequence[WorkflowConditionGroupConditionParamBindingArrayValue]
The array of literal or reference parameter values
value WorkflowConditionGroupConditionParamBindingValue
The literal or reference parameter value
arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowConditionGroupConditionParamBindingArrayValue
, WorkflowConditionGroupConditionParamBindingArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowConditionGroupConditionParamBindingValue
, WorkflowConditionGroupConditionParamBindingValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowDelay
, WorkflowDelayArgs

ConditionsApplyOverDelay This property is required. bool
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
ForSeconds This property is required. double
Delay in seconds between trigger firing and running the workflow
ConditionsApplyOverDelay This property is required. bool
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
ForSeconds This property is required. float64
Delay in seconds between trigger firing and running the workflow
conditionsApplyOverDelay This property is required. Boolean
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
forSeconds This property is required. Double
Delay in seconds between trigger firing and running the workflow
conditionsApplyOverDelay This property is required. boolean
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
forSeconds This property is required. number
Delay in seconds between trigger firing and running the workflow
conditions_apply_over_delay This property is required. bool
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
for_seconds This property is required. float
Delay in seconds between trigger firing and running the workflow
conditionsApplyOverDelay This property is required. Boolean
If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
forSeconds This property is required. Number
Delay in seconds between trigger firing and running the workflow

WorkflowExpression
, WorkflowExpressionArgs

Label This property is required. string
The human readable label of the expression
Operations This property is required. List<WorkflowExpressionOperation>
The operations to execute in sequence for this expression
Reference This property is required. string
A short ID that can be used to reference the expression
RootReference This property is required. string
The root reference for this expression (i.e. where the expression starts)
ElseBranch WorkflowExpressionElseBranch
The else branch to resort to if all operations fail
Label This property is required. string
The human readable label of the expression
Operations This property is required. []WorkflowExpressionOperation
The operations to execute in sequence for this expression
Reference This property is required. string
A short ID that can be used to reference the expression
RootReference This property is required. string
The root reference for this expression (i.e. where the expression starts)
ElseBranch WorkflowExpressionElseBranch
The else branch to resort to if all operations fail
label This property is required. String
The human readable label of the expression
operations This property is required. List<WorkflowExpressionOperation>
The operations to execute in sequence for this expression
reference This property is required. String
A short ID that can be used to reference the expression
rootReference This property is required. String
The root reference for this expression (i.e. where the expression starts)
elseBranch WorkflowExpressionElseBranch
The else branch to resort to if all operations fail
label This property is required. string
The human readable label of the expression
operations This property is required. WorkflowExpressionOperation[]
The operations to execute in sequence for this expression
reference This property is required. string
A short ID that can be used to reference the expression
rootReference This property is required. string
The root reference for this expression (i.e. where the expression starts)
elseBranch WorkflowExpressionElseBranch
The else branch to resort to if all operations fail
label This property is required. str
The human readable label of the expression
operations This property is required. Sequence[WorkflowExpressionOperation]
The operations to execute in sequence for this expression
reference This property is required. str
A short ID that can be used to reference the expression
root_reference This property is required. str
The root reference for this expression (i.e. where the expression starts)
else_branch WorkflowExpressionElseBranch
The else branch to resort to if all operations fail
label This property is required. String
The human readable label of the expression
operations This property is required. List<Property Map>
The operations to execute in sequence for this expression
reference This property is required. String
A short ID that can be used to reference the expression
rootReference This property is required. String
The root reference for this expression (i.e. where the expression starts)
elseBranch Property Map
The else branch to resort to if all operations fail

WorkflowExpressionElseBranch
, WorkflowExpressionElseBranchArgs

Result This property is required. WorkflowExpressionElseBranchResult
The result assumed if the else branch is reached
Result This property is required. WorkflowExpressionElseBranchResult
The result assumed if the else branch is reached
result This property is required. WorkflowExpressionElseBranchResult
The result assumed if the else branch is reached
result This property is required. WorkflowExpressionElseBranchResult
The result assumed if the else branch is reached
result This property is required. WorkflowExpressionElseBranchResult
The result assumed if the else branch is reached
result This property is required. Property Map
The result assumed if the else branch is reached

WorkflowExpressionElseBranchResult
, WorkflowExpressionElseBranchResultArgs

ArrayValues List<WorkflowExpressionElseBranchResultArrayValue>
The array of literal or reference parameter values
Value WorkflowExpressionElseBranchResultValue
The literal or reference parameter value
ArrayValues []WorkflowExpressionElseBranchResultArrayValue
The array of literal or reference parameter values
Value WorkflowExpressionElseBranchResultValue
The literal or reference parameter value
arrayValues List<WorkflowExpressionElseBranchResultArrayValue>
The array of literal or reference parameter values
value WorkflowExpressionElseBranchResultValue
The literal or reference parameter value
arrayValues WorkflowExpressionElseBranchResultArrayValue[]
The array of literal or reference parameter values
value WorkflowExpressionElseBranchResultValue
The literal or reference parameter value
array_values Sequence[WorkflowExpressionElseBranchResultArrayValue]
The array of literal or reference parameter values
value WorkflowExpressionElseBranchResultValue
The literal or reference parameter value
arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowExpressionElseBranchResultArrayValue
, WorkflowExpressionElseBranchResultArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionElseBranchResultValue
, WorkflowExpressionElseBranchResultValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperation
, WorkflowExpressionOperationArgs

OperationType This property is required. string
Indicates which operation type to execute
Branches WorkflowExpressionOperationBranches
An operation type that allows for a value to be set conditionally by a series of logical branches
Filter WorkflowExpressionOperationFilter
An operation type that allows values to be filtered out by conditions
Navigate WorkflowExpressionOperationNavigate
An operation type that allows attributes of a type to be accessed by reference
Parse WorkflowExpressionOperationParse
An operation type that allows a value to parsed from within a JSON object
OperationType This property is required. string
Indicates which operation type to execute
Branches WorkflowExpressionOperationBranches
An operation type that allows for a value to be set conditionally by a series of logical branches
Filter WorkflowExpressionOperationFilter
An operation type that allows values to be filtered out by conditions
Navigate WorkflowExpressionOperationNavigate
An operation type that allows attributes of a type to be accessed by reference
Parse WorkflowExpressionOperationParse
An operation type that allows a value to parsed from within a JSON object
operationType This property is required. String
Indicates which operation type to execute
branches WorkflowExpressionOperationBranches
An operation type that allows for a value to be set conditionally by a series of logical branches
filter WorkflowExpressionOperationFilter
An operation type that allows values to be filtered out by conditions
navigate WorkflowExpressionOperationNavigate
An operation type that allows attributes of a type to be accessed by reference
parse WorkflowExpressionOperationParse
An operation type that allows a value to parsed from within a JSON object
operationType This property is required. string
Indicates which operation type to execute
branches WorkflowExpressionOperationBranches
An operation type that allows for a value to be set conditionally by a series of logical branches
filter WorkflowExpressionOperationFilter
An operation type that allows values to be filtered out by conditions
navigate WorkflowExpressionOperationNavigate
An operation type that allows attributes of a type to be accessed by reference
parse WorkflowExpressionOperationParse
An operation type that allows a value to parsed from within a JSON object
operation_type This property is required. str
Indicates which operation type to execute
branches WorkflowExpressionOperationBranches
An operation type that allows for a value to be set conditionally by a series of logical branches
filter WorkflowExpressionOperationFilter
An operation type that allows values to be filtered out by conditions
navigate WorkflowExpressionOperationNavigate
An operation type that allows attributes of a type to be accessed by reference
parse WorkflowExpressionOperationParse
An operation type that allows a value to parsed from within a JSON object
operationType This property is required. String
Indicates which operation type to execute
branches Property Map
An operation type that allows for a value to be set conditionally by a series of logical branches
filter Property Map
An operation type that allows values to be filtered out by conditions
navigate Property Map
An operation type that allows attributes of a type to be accessed by reference
parse Property Map
An operation type that allows a value to parsed from within a JSON object

WorkflowExpressionOperationBranches
, WorkflowExpressionOperationBranchesArgs

Branches This property is required. List<WorkflowExpressionOperationBranchesBranch>
The branches to apply for this operation
Returns This property is required. WorkflowExpressionOperationBranchesReturns
The return type of an operation
Branches This property is required. []WorkflowExpressionOperationBranchesBranch
The branches to apply for this operation
Returns This property is required. WorkflowExpressionOperationBranchesReturns
The return type of an operation
branches This property is required. List<WorkflowExpressionOperationBranchesBranch>
The branches to apply for this operation
returns This property is required. WorkflowExpressionOperationBranchesReturns
The return type of an operation
branches This property is required. WorkflowExpressionOperationBranchesBranch[]
The branches to apply for this operation
returns This property is required. WorkflowExpressionOperationBranchesReturns
The return type of an operation
branches This property is required. Sequence[WorkflowExpressionOperationBranchesBranch]
The branches to apply for this operation
returns This property is required. WorkflowExpressionOperationBranchesReturns
The return type of an operation
branches This property is required. List<Property Map>
The branches to apply for this operation
returns This property is required. Property Map
The return type of an operation

WorkflowExpressionOperationBranchesBranch
, WorkflowExpressionOperationBranchesBranchArgs

ConditionGroups This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
Result This property is required. WorkflowExpressionOperationBranchesBranchResult
The result assumed if the condition groups are satisfied
ConditionGroups This property is required. []WorkflowExpressionOperationBranchesBranchConditionGroup
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
Result This property is required. WorkflowExpressionOperationBranchesBranchResult
The result assumed if the condition groups are satisfied
conditionGroups This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
result This property is required. WorkflowExpressionOperationBranchesBranchResult
The result assumed if the condition groups are satisfied
conditionGroups This property is required. WorkflowExpressionOperationBranchesBranchConditionGroup[]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
result This property is required. WorkflowExpressionOperationBranchesBranchResult
The result assumed if the condition groups are satisfied
condition_groups This property is required. Sequence[WorkflowExpressionOperationBranchesBranchConditionGroup]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
result This property is required. WorkflowExpressionOperationBranchesBranchResult
The result assumed if the condition groups are satisfied
conditionGroups This property is required. List<Property Map>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
result This property is required. Property Map
The result assumed if the condition groups are satisfied

WorkflowExpressionOperationBranchesBranchConditionGroup
, WorkflowExpressionOperationBranchesBranchConditionGroupArgs

Conditions This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroupCondition>
The prerequisite conditions that must all be satisfied
Conditions This property is required. []WorkflowExpressionOperationBranchesBranchConditionGroupCondition
The prerequisite conditions that must all be satisfied
conditions This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroupCondition>
The prerequisite conditions that must all be satisfied
conditions This property is required. WorkflowExpressionOperationBranchesBranchConditionGroupCondition[]
The prerequisite conditions that must all be satisfied
conditions This property is required. Sequence[WorkflowExpressionOperationBranchesBranchConditionGroupCondition]
The prerequisite conditions that must all be satisfied
conditions This property is required. List<Property Map>
The prerequisite conditions that must all be satisfied

WorkflowExpressionOperationBranchesBranchConditionGroupCondition
, WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs

Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. []WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied
operation This property is required. string
The logical operation to be applied
paramBindings This property is required. WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding[]
Bindings for the operation parameters
subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. str
The logical operation to be applied
param_bindings This property is required. Sequence[WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding]
Bindings for the operation parameters
subject This property is required. str
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<Property Map>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied

WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding
, WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs

arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue
, WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue
, WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationBranchesBranchResult
, WorkflowExpressionOperationBranchesBranchResultArgs

ArrayValues List<WorkflowExpressionOperationBranchesBranchResultArrayValue>
The array of literal or reference parameter values
Value WorkflowExpressionOperationBranchesBranchResultValue
The literal or reference parameter value
ArrayValues []WorkflowExpressionOperationBranchesBranchResultArrayValue
The array of literal or reference parameter values
Value WorkflowExpressionOperationBranchesBranchResultValue
The literal or reference parameter value
arrayValues List<WorkflowExpressionOperationBranchesBranchResultArrayValue>
The array of literal or reference parameter values
value WorkflowExpressionOperationBranchesBranchResultValue
The literal or reference parameter value
arrayValues WorkflowExpressionOperationBranchesBranchResultArrayValue[]
The array of literal or reference parameter values
value WorkflowExpressionOperationBranchesBranchResultValue
The literal or reference parameter value
array_values Sequence[WorkflowExpressionOperationBranchesBranchResultArrayValue]
The array of literal or reference parameter values
value WorkflowExpressionOperationBranchesBranchResultValue
The literal or reference parameter value
arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowExpressionOperationBranchesBranchResultArrayValue
, WorkflowExpressionOperationBranchesBranchResultArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationBranchesBranchResultValue
, WorkflowExpressionOperationBranchesBranchResultValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationBranchesReturns
, WorkflowExpressionOperationBranchesReturnsArgs

Array This property is required. bool
Whether the return value should be single or multi-value
Type This property is required. string
Expected return type of this expression (what to try casting the result to)
Array This property is required. bool
Whether the return value should be single or multi-value
Type This property is required. string
Expected return type of this expression (what to try casting the result to)
array This property is required. Boolean
Whether the return value should be single or multi-value
type This property is required. String
Expected return type of this expression (what to try casting the result to)
array This property is required. boolean
Whether the return value should be single or multi-value
type This property is required. string
Expected return type of this expression (what to try casting the result to)
array This property is required. bool
Whether the return value should be single or multi-value
type This property is required. str
Expected return type of this expression (what to try casting the result to)
array This property is required. Boolean
Whether the return value should be single or multi-value
type This property is required. String
Expected return type of this expression (what to try casting the result to)

WorkflowExpressionOperationFilter
, WorkflowExpressionOperationFilterArgs

ConditionGroups This property is required. List<WorkflowExpressionOperationFilterConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
ConditionGroups This property is required. []WorkflowExpressionOperationFilterConditionGroup
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
conditionGroups This property is required. List<WorkflowExpressionOperationFilterConditionGroup>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
conditionGroups This property is required. WorkflowExpressionOperationFilterConditionGroup[]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
condition_groups This property is required. Sequence[WorkflowExpressionOperationFilterConditionGroup]
Groups of prerequisite conditions. All conditions in at least one group must be satisfied
conditionGroups This property is required. List<Property Map>
Groups of prerequisite conditions. All conditions in at least one group must be satisfied

WorkflowExpressionOperationFilterConditionGroup
, WorkflowExpressionOperationFilterConditionGroupArgs

Conditions This property is required. List<WorkflowExpressionOperationFilterConditionGroupCondition>
The prerequisite conditions that must all be satisfied
Conditions This property is required. []WorkflowExpressionOperationFilterConditionGroupCondition
The prerequisite conditions that must all be satisfied
conditions This property is required. List<WorkflowExpressionOperationFilterConditionGroupCondition>
The prerequisite conditions that must all be satisfied
conditions This property is required. WorkflowExpressionOperationFilterConditionGroupCondition[]
The prerequisite conditions that must all be satisfied
conditions This property is required. Sequence[WorkflowExpressionOperationFilterConditionGroupCondition]
The prerequisite conditions that must all be satisfied
conditions This property is required. List<Property Map>
The prerequisite conditions that must all be satisfied

WorkflowExpressionOperationFilterConditionGroupCondition
, WorkflowExpressionOperationFilterConditionGroupConditionArgs

Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. List<WorkflowExpressionOperationFilterConditionGroupConditionParamBinding>
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
Operation This property is required. string
The logical operation to be applied
ParamBindings This property is required. []WorkflowExpressionOperationFilterConditionGroupConditionParamBinding
Bindings for the operation parameters
Subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<WorkflowExpressionOperationFilterConditionGroupConditionParamBinding>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied
operation This property is required. string
The logical operation to be applied
paramBindings This property is required. WorkflowExpressionOperationFilterConditionGroupConditionParamBinding[]
Bindings for the operation parameters
subject This property is required. string
The subject of the condition, on which the operation is applied
operation This property is required. str
The logical operation to be applied
param_bindings This property is required. Sequence[WorkflowExpressionOperationFilterConditionGroupConditionParamBinding]
Bindings for the operation parameters
subject This property is required. str
The subject of the condition, on which the operation is applied
operation This property is required. String
The logical operation to be applied
paramBindings This property is required. List<Property Map>
Bindings for the operation parameters
subject This property is required. String
The subject of the condition, on which the operation is applied

WorkflowExpressionOperationFilterConditionGroupConditionParamBinding
, WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArgs

arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValue
, WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValue
, WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowExpressionOperationNavigate
, WorkflowExpressionOperationNavigateArgs

Reference This property is required. string
Reference This property is required. string
reference This property is required. String
reference This property is required. string
reference This property is required. str
reference This property is required. String

WorkflowExpressionOperationParse
, WorkflowExpressionOperationParseArgs

Returns This property is required. WorkflowExpressionOperationParseReturns
The return type of an operation
Source This property is required. string
The ES5 Javascript expression to execute
Returns This property is required. WorkflowExpressionOperationParseReturns
The return type of an operation
Source This property is required. string
The ES5 Javascript expression to execute
returns This property is required. WorkflowExpressionOperationParseReturns
The return type of an operation
source This property is required. String
The ES5 Javascript expression to execute
returns This property is required. WorkflowExpressionOperationParseReturns
The return type of an operation
source This property is required. string
The ES5 Javascript expression to execute
returns This property is required. WorkflowExpressionOperationParseReturns
The return type of an operation
source This property is required. str
The ES5 Javascript expression to execute
returns This property is required. Property Map
The return type of an operation
source This property is required. String
The ES5 Javascript expression to execute

WorkflowExpressionOperationParseReturns
, WorkflowExpressionOperationParseReturnsArgs

Array This property is required. bool
Whether the return value should be single or multi-value
Type This property is required. string
Expected return type of this expression (what to try casting the result to)
Array This property is required. bool
Whether the return value should be single or multi-value
Type This property is required. string
Expected return type of this expression (what to try casting the result to)
array This property is required. Boolean
Whether the return value should be single or multi-value
type This property is required. String
Expected return type of this expression (what to try casting the result to)
array This property is required. boolean
Whether the return value should be single or multi-value
type This property is required. string
Expected return type of this expression (what to try casting the result to)
array This property is required. bool
Whether the return value should be single or multi-value
type This property is required. str
Expected return type of this expression (what to try casting the result to)
array This property is required. Boolean
Whether the return value should be single or multi-value
type This property is required. String
Expected return type of this expression (what to try casting the result to)

WorkflowStep
, WorkflowStepArgs

Id This property is required. string
Name This property is required. string
ParamBindings This property is required. List<WorkflowStepParamBinding>
Bindings for the operation parameters
ForEach string
Id This property is required. string
Name This property is required. string
ParamBindings This property is required. []WorkflowStepParamBinding
Bindings for the operation parameters
ForEach string
id This property is required. String
name This property is required. String
paramBindings This property is required. List<WorkflowStepParamBinding>
Bindings for the operation parameters
forEach String
id This property is required. string
name This property is required. string
paramBindings This property is required. WorkflowStepParamBinding[]
Bindings for the operation parameters
forEach string
id This property is required. str
name This property is required. str
param_bindings This property is required. Sequence[WorkflowStepParamBinding]
Bindings for the operation parameters
for_each str
id This property is required. String
name This property is required. String
paramBindings This property is required. List<Property Map>
Bindings for the operation parameters
forEach String

WorkflowStepParamBinding
, WorkflowStepParamBindingArgs

ArrayValues List<WorkflowStepParamBindingArrayValue>
The array of literal or reference parameter values
Value WorkflowStepParamBindingValue
The literal or reference parameter value
ArrayValues []WorkflowStepParamBindingArrayValue
The array of literal or reference parameter values
Value WorkflowStepParamBindingValue
The literal or reference parameter value
arrayValues List<WorkflowStepParamBindingArrayValue>
The array of literal or reference parameter values
value WorkflowStepParamBindingValue
The literal or reference parameter value
arrayValues WorkflowStepParamBindingArrayValue[]
The array of literal or reference parameter values
value WorkflowStepParamBindingValue
The literal or reference parameter value
array_values Sequence[WorkflowStepParamBindingArrayValue]
The array of literal or reference parameter values
value WorkflowStepParamBindingValue
The literal or reference parameter value
arrayValues List<Property Map>
The array of literal or reference parameter values
value Property Map
The literal or reference parameter value

WorkflowStepParamBindingArrayValue
, WorkflowStepParamBindingArrayValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

WorkflowStepParamBindingValue
, WorkflowStepParamBindingValueArgs

Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
Literal string
If set, this is the literal value of the step parameter
Reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter
literal string
If set, this is the literal value of the step parameter
reference string
If set, this is the reference into the trigger scope that is the value of this parameter
literal str
If set, this is the literal value of the step parameter
reference str
If set, this is the reference into the trigger scope that is the value of this parameter
literal String
If set, this is the literal value of the step parameter
reference String
If set, this is the reference into the trigger scope that is the value of this parameter

Import

#!/bin/bash

Import a workflow using its ID

Replace the ID with a real ID from your incident.io organization

$ pulumi import incident:index/workflow:Workflow example 01ABC123DEF456GHI789JKL
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
incident incident-io/terraform-provider-incident
License
Notes
This Pulumi package is based on the incident Terraform Provider.