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

incident.Workflow

Explore with Pulumi AI

incident logo
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io

    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",
    });
    
    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")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
        },
    });
    
    example, err := incident.NewWorkflow(ctx, "workflowResource", &incident.WorkflowArgs{
    	RunsOnIncidents: pulumi.String("string"),
    	State:           pulumi.String("string"),
    	Trigger:         pulumi.String("string"),
    	Expressions: incident.WorkflowExpressionArray{
    		&incident.WorkflowExpressionArgs{
    			Label: pulumi.String("string"),
    			Operations: incident.WorkflowExpressionOperationArray{
    				&incident.WorkflowExpressionOperationArgs{
    					OperationType: pulumi.String("string"),
    					Branches: &incident.WorkflowExpressionOperationBranchesArgs{
    						Branches: incident.WorkflowExpressionOperationBranchesBranchArray{
    							&incident.WorkflowExpressionOperationBranchesBranchArgs{
    								ConditionGroups: incident.WorkflowExpressionOperationBranchesBranchConditionGroupArray{
    									&incident.WorkflowExpressionOperationBranchesBranchConditionGroupArgs{
    										Conditions: incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionArray{
    											&incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs{
    												Operation: pulumi.String("string"),
    												ParamBindings: incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArray{
    													&incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs{
    														ArrayValues: incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArray{
    															&incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs{
    																Literal:   pulumi.String("string"),
    																Reference: pulumi.String("string"),
    															},
    														},
    														Value: &incident.WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs{
    															Literal:   pulumi.String("string"),
    															Reference: pulumi.String("string"),
    														},
    													},
    												},
    												Subject: pulumi.String("string"),
    											},
    										},
    									},
    								},
    								Result: &incident.WorkflowExpressionOperationBranchesBranchResultArgs{
    									ArrayValues: incident.WorkflowExpressionOperationBranchesBranchResultArrayValueArray{
    										&incident.WorkflowExpressionOperationBranchesBranchResultArrayValueArgs{
    											Literal:   pulumi.String("string"),
    											Reference: pulumi.String("string"),
    										},
    									},
    									Value: &incident.WorkflowExpressionOperationBranchesBranchResultValueArgs{
    										Literal:   pulumi.String("string"),
    										Reference: pulumi.String("string"),
    									},
    								},
    							},
    						},
    						Returns: &incident.WorkflowExpressionOperationBranchesReturnsArgs{
    							Array: pulumi.Bool(false),
    							Type:  pulumi.String("string"),
    						},
    					},
    					Filter: &incident.WorkflowExpressionOperationFilterArgs{
    						ConditionGroups: incident.WorkflowExpressionOperationFilterConditionGroupArray{
    							&incident.WorkflowExpressionOperationFilterConditionGroupArgs{
    								Conditions: incident.WorkflowExpressionOperationFilterConditionGroupConditionArray{
    									&incident.WorkflowExpressionOperationFilterConditionGroupConditionArgs{
    										Operation: pulumi.String("string"),
    										ParamBindings: incident.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArray{
    											&incident.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArgs{
    												ArrayValues: incident.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArray{
    													&incident.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs{
    														Literal:   pulumi.String("string"),
    														Reference: pulumi.String("string"),
    													},
    												},
    												Value: &incident.WorkflowExpressionOperationFilterConditionGroupConditionParamBindingValueArgs{
    													Literal:   pulumi.String("string"),
    													Reference: pulumi.String("string"),
    												},
    											},
    										},
    										Subject: pulumi.String("string"),
    									},
    								},
    							},
    						},
    					},
    					Navigate: &incident.WorkflowExpressionOperationNavigateArgs{
    						Reference: pulumi.String("string"),
    					},
    					Parse: &incident.WorkflowExpressionOperationParseArgs{
    						Returns: &incident.WorkflowExpressionOperationParseReturnsArgs{
    							Array: pulumi.Bool(false),
    							Type:  pulumi.String("string"),
    						},
    						Source: pulumi.String("string"),
    					},
    				},
    			},
    			Reference:     pulumi.String("string"),
    			RootReference: pulumi.String("string"),
    			ElseBranch: &incident.WorkflowExpressionElseBranchArgs{
    				Result: &incident.WorkflowExpressionElseBranchResultArgs{
    					ArrayValues: incident.WorkflowExpressionElseBranchResultArrayValueArray{
    						&incident.WorkflowExpressionElseBranchResultArrayValueArgs{
    							Literal:   pulumi.String("string"),
    							Reference: pulumi.String("string"),
    						},
    					},
    					Value: &incident.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: incident.WorkflowStepArray{
    		&incident.WorkflowStepArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			ParamBindings: incident.WorkflowStepParamBindingArray{
    				&incident.WorkflowStepParamBindingArgs{
    					ArrayValues: incident.WorkflowStepParamBindingArrayValueArray{
    						&incident.WorkflowStepParamBindingArrayValueArgs{
    							Literal:   pulumi.String("string"),
    							Reference: pulumi.String("string"),
    						},
    					},
    					Value: &incident.WorkflowStepParamBindingValueArgs{
    						Literal:   pulumi.String("string"),
    						Reference: pulumi.String("string"),
    					},
    				},
    			},
    			ForEach: pulumi.String("string"),
    		},
    	},
    	ContinueOnStepError: pulumi.Bool(false),
    	ConditionGroups: incident.WorkflowConditionGroupArray{
    		&incident.WorkflowConditionGroupArgs{
    			Conditions: incident.WorkflowConditionGroupConditionArray{
    				&incident.WorkflowConditionGroupConditionArgs{
    					Operation: pulumi.String("string"),
    					ParamBindings: incident.WorkflowConditionGroupConditionParamBindingArray{
    						&incident.WorkflowConditionGroupConditionParamBindingArgs{
    							ArrayValues: incident.WorkflowConditionGroupConditionParamBindingArrayValueArray{
    								&incident.WorkflowConditionGroupConditionParamBindingArrayValueArgs{
    									Literal:   pulumi.String("string"),
    									Reference: pulumi.String("string"),
    								},
    							},
    							Value: &incident.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: &incident.WorkflowDelayArgs{
    		ConditionsApplyOverDelay: pulumi.Bool(false),
    		ForSeconds:               pulumi.Float64(0),
    	},
    })
    
    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());
    
    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,
        })
    
    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,
        },
    });
    
    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
    

    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 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
    Expressions List<WorkflowExpression>
    The expressions to be prepared for use by steps and conditions
    IncludePrivateIncidents bool
    Whether to include private incidents
    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?
    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
    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 []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
    Expressions []WorkflowExpressionArgs
    The expressions to be prepared for use by steps and conditions
    IncludePrivateIncidents bool
    Whether to include private incidents
    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?
    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
    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 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
    expressions List<WorkflowExpression>
    The expressions to be prepared for use by steps and conditions
    includePrivateIncidents Boolean
    Whether to include private incidents
    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?
    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
    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 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
    expressions WorkflowExpression[]
    The expressions to be prepared for use by steps and conditions
    includePrivateIncidents boolean
    Whether to include private incidents
    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?
    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
    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 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
    expressions Sequence[WorkflowExpressionArgs]
    The expressions to be prepared for use by steps and conditions
    include_private_incidents bool
    Whether to include private incidents
    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?
    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
    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 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
    expressions List<Property Map>
    The expressions to be prepared for use by steps and conditions
    includePrivateIncidents Boolean
    Whether to include private incidents
    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?
    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
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 List<WorkflowConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    Conditions []WorkflowConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions List<WorkflowConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    conditions WorkflowConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions Sequence[WorkflowConditionGroupCondition]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    WorkflowConditionGroupCondition, WorkflowConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<WorkflowConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []WorkflowConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<WorkflowConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings WorkflowConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[WorkflowConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject 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 bool
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    ForSeconds double
    Delay in seconds between trigger firing and running the workflow
    ConditionsApplyOverDelay bool
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    ForSeconds float64
    Delay in seconds between trigger firing and running the workflow
    conditionsApplyOverDelay Boolean
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    forSeconds Double
    Delay in seconds between trigger firing and running the workflow
    conditionsApplyOverDelay boolean
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    forSeconds number
    Delay in seconds between trigger firing and running the workflow
    conditions_apply_over_delay bool
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    for_seconds float
    Delay in seconds between trigger firing and running the workflow
    conditionsApplyOverDelay Boolean
    If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
    forSeconds Number
    Delay in seconds between trigger firing and running the workflow

    WorkflowExpression, WorkflowExpressionArgs

    Label string
    The human readable label of the expression
    Operations List<WorkflowExpressionOperation>
    The operations to execute in sequence for this expression
    Reference string
    A short ID that can be used to reference the expression
    RootReference 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 string
    The human readable label of the expression
    Operations []WorkflowExpressionOperation
    The operations to execute in sequence for this expression
    Reference string
    A short ID that can be used to reference the expression
    RootReference 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 String
    The human readable label of the expression
    operations List<WorkflowExpressionOperation>
    The operations to execute in sequence for this expression
    reference String
    A short ID that can be used to reference the expression
    rootReference 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 string
    The human readable label of the expression
    operations WorkflowExpressionOperation[]
    The operations to execute in sequence for this expression
    reference string
    A short ID that can be used to reference the expression
    rootReference 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 str
    The human readable label of the expression
    operations Sequence[WorkflowExpressionOperation]
    The operations to execute in sequence for this expression
    reference str
    A short ID that can be used to reference the expression
    root_reference 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 String
    The human readable label of the expression
    operations List<Property Map>
    The operations to execute in sequence for this expression
    reference String
    A short ID that can be used to reference the expression
    rootReference 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 WorkflowExpressionElseBranchResult
    The result assumed if the else branch is reached
    Result WorkflowExpressionElseBranchResult
    The result assumed if the else branch is reached
    result WorkflowExpressionElseBranchResult
    The result assumed if the else branch is reached
    result WorkflowExpressionElseBranchResult
    The result assumed if the else branch is reached
    result WorkflowExpressionElseBranchResult
    The result assumed if the else branch is reached
    result 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 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 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 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 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 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 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 List<WorkflowExpressionOperationBranchesBranch>
    The branches to apply for this operation
    Returns WorkflowExpressionOperationBranchesReturns
    The return type of an operation
    Branches []WorkflowExpressionOperationBranchesBranch
    The branches to apply for this operation
    Returns WorkflowExpressionOperationBranchesReturns
    The return type of an operation
    branches List<WorkflowExpressionOperationBranchesBranch>
    The branches to apply for this operation
    returns WorkflowExpressionOperationBranchesReturns
    The return type of an operation
    branches WorkflowExpressionOperationBranchesBranch[]
    The branches to apply for this operation
    returns WorkflowExpressionOperationBranchesReturns
    The return type of an operation
    branches Sequence[WorkflowExpressionOperationBranchesBranch]
    The branches to apply for this operation
    returns WorkflowExpressionOperationBranchesReturns
    The return type of an operation
    branches List<Property Map>
    The branches to apply for this operation
    returns Property Map
    The return type of an operation

    WorkflowExpressionOperationBranchesBranch, WorkflowExpressionOperationBranchesBranchArgs

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

    WorkflowExpressionOperationBranchesBranchConditionGroup, WorkflowExpressionOperationBranchesBranchConditionGroupArgs

    Conditions List<WorkflowExpressionOperationBranchesBranchConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    Conditions []WorkflowExpressionOperationBranchesBranchConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions List<WorkflowExpressionOperationBranchesBranchConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    conditions WorkflowExpressionOperationBranchesBranchConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    WorkflowExpressionOperationBranchesBranchConditionGroupCondition, WorkflowExpressionOperationBranchesBranchConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[WorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject 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 bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    Array bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)
    array boolean
    Whether the return value should be single or multi-value
    type string
    Expected return type of this expression (what to try casting the result to)
    array bool
    Whether the return value should be single or multi-value
    type str
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)

    WorkflowExpressionOperationFilter, WorkflowExpressionOperationFilterArgs

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

    WorkflowExpressionOperationFilterConditionGroup, WorkflowExpressionOperationFilterConditionGroupArgs

    Conditions List<WorkflowExpressionOperationFilterConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    Conditions []WorkflowExpressionOperationFilterConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions List<WorkflowExpressionOperationFilterConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    conditions WorkflowExpressionOperationFilterConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions Sequence[WorkflowExpressionOperationFilterConditionGroupCondition]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    WorkflowExpressionOperationFilterConditionGroupCondition, WorkflowExpressionOperationFilterConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<WorkflowExpressionOperationFilterConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []WorkflowExpressionOperationFilterConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<WorkflowExpressionOperationFilterConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings WorkflowExpressionOperationFilterConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[WorkflowExpressionOperationFilterConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject 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 string
    Reference string
    reference String
    reference string
    reference String

    WorkflowExpressionOperationParse, WorkflowExpressionOperationParseArgs

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

    WorkflowExpressionOperationParseReturns, WorkflowExpressionOperationParseReturnsArgs

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

    WorkflowStep, WorkflowStepArgs

    Id string
    Name string
    ParamBindings List<WorkflowStepParamBinding>
    Bindings for the operation parameters
    ForEach string
    Id string
    Name string
    ParamBindings []WorkflowStepParamBinding
    Bindings for the operation parameters
    ForEach string
    id String
    name String
    paramBindings List<WorkflowStepParamBinding>
    Bindings for the operation parameters
    forEach String
    id string
    name string
    paramBindings WorkflowStepParamBinding[]
    Bindings for the operation parameters
    forEach string
    id str
    name str
    param_bindings Sequence[WorkflowStepParamBinding]
    Bindings for the operation parameters
    for_each str
    id String
    name String
    paramBindings 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
    

    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.
    incident logo
    incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io