published on Thursday, Nov 12, 2026 by rootlyhq
published on Thursday, Nov 12, 2026 by rootlyhq
Manages workflow createSubIncident task.
Create WorkflowTaskCreateSubIncident Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowTaskCreateSubIncident(name: string, args: WorkflowTaskCreateSubIncidentArgs, opts?: CustomResourceOptions);@overload
def WorkflowTaskCreateSubIncident(resource_name: str,
args: WorkflowTaskCreateSubIncidentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowTaskCreateSubIncident(resource_name: str,
opts: Optional[ResourceOptions] = None,
task_params: Optional[WorkflowTaskCreateSubIncidentTaskParamsArgs] = None,
workflow_id: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None)func NewWorkflowTaskCreateSubIncident(ctx *Context, name string, args WorkflowTaskCreateSubIncidentArgs, opts ...ResourceOption) (*WorkflowTaskCreateSubIncident, error)public WorkflowTaskCreateSubIncident(string name, WorkflowTaskCreateSubIncidentArgs args, CustomResourceOptions? opts = null)
public WorkflowTaskCreateSubIncident(String name, WorkflowTaskCreateSubIncidentArgs args)
public WorkflowTaskCreateSubIncident(String name, WorkflowTaskCreateSubIncidentArgs args, CustomResourceOptions options)
type: rootly:WorkflowTaskCreateSubIncident
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "rootly_workflow_task_create_sub_incident" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WorkflowTaskCreateSubIncidentArgs
- 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 WorkflowTaskCreateSubIncidentArgs
- 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 WorkflowTaskCreateSubIncidentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowTaskCreateSubIncidentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowTaskCreateSubIncidentArgs
- 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 workflowTaskCreateSubIncidentResource = new Rootly.WorkflowTaskCreateSubIncident("workflowTaskCreateSubIncidentResource", new()
{
TaskParams = new Rootly.Inputs.WorkflowTaskCreateSubIncidentTaskParamsArgs
{
Title = "string",
EnvironmentIds = new[]
{
"string",
},
FunctionalityIds = new[]
{
"string",
},
GroupIds = new[]
{
"string",
},
IncidentTypeIds = new[]
{
"string",
},
Private = false,
ServiceIds = new[]
{
"string",
},
SeverityId = "string",
Summary = "string",
TaskType = "string",
},
WorkflowId = "string",
Enabled = false,
Name = "string",
Position = 0,
SkipOnFailure = false,
});
example, err := rootly.NewWorkflowTaskCreateSubIncident(ctx, "workflowTaskCreateSubIncidentResource", &rootly.WorkflowTaskCreateSubIncidentArgs{
TaskParams: &rootly.WorkflowTaskCreateSubIncidentTaskParamsArgs{
Title: pulumi.String("string"),
EnvironmentIds: pulumi.StringArray{
pulumi.String("string"),
},
FunctionalityIds: pulumi.StringArray{
pulumi.String("string"),
},
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
IncidentTypeIds: pulumi.StringArray{
pulumi.String("string"),
},
Private: pulumi.Bool(false),
ServiceIds: pulumi.StringArray{
pulumi.String("string"),
},
SeverityId: pulumi.String("string"),
Summary: pulumi.String("string"),
TaskType: pulumi.String("string"),
},
WorkflowId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
SkipOnFailure: pulumi.Bool(false),
})
resource "rootly_workflow_task_create_sub_incident" "workflowTaskCreateSubIncidentResource" {
lifecycle {
create_before_destroy = true
}
task_params = {
title = "string"
environment_ids = ["string"]
functionality_ids = ["string"]
group_ids = ["string"]
incident_type_ids = ["string"]
private = false
service_ids = ["string"]
severity_id = "string"
summary = "string"
task_type = "string"
}
workflow_id = "string"
enabled = false
name = "string"
position = 0
skip_on_failure = false
}
var workflowTaskCreateSubIncidentResource = new WorkflowTaskCreateSubIncident("workflowTaskCreateSubIncidentResource", WorkflowTaskCreateSubIncidentArgs.builder()
.taskParams(WorkflowTaskCreateSubIncidentTaskParamsArgs.builder()
.title("string")
.environmentIds("string")
.functionalityIds("string")
.groupIds("string")
.incidentTypeIds("string")
.private_(false)
.serviceIds("string")
.severityId("string")
.summary("string")
.taskType("string")
.build())
.workflowId("string")
.enabled(false)
.name("string")
.position(0)
.skipOnFailure(false)
.build());
workflow_task_create_sub_incident_resource = rootly.WorkflowTaskCreateSubIncident("workflowTaskCreateSubIncidentResource",
task_params={
"title": "string",
"environment_ids": ["string"],
"functionality_ids": ["string"],
"group_ids": ["string"],
"incident_type_ids": ["string"],
"private": False,
"service_ids": ["string"],
"severity_id": "string",
"summary": "string",
"task_type": "string",
},
workflow_id="string",
enabled=False,
name="string",
position=0,
skip_on_failure=False)
const workflowTaskCreateSubIncidentResource = new rootly.WorkflowTaskCreateSubIncident("workflowTaskCreateSubIncidentResource", {
taskParams: {
title: "string",
environmentIds: ["string"],
functionalityIds: ["string"],
groupIds: ["string"],
incidentTypeIds: ["string"],
"private": false,
serviceIds: ["string"],
severityId: "string",
summary: "string",
taskType: "string",
},
workflowId: "string",
enabled: false,
name: "string",
position: 0,
skipOnFailure: false,
});
type: rootly:WorkflowTaskCreateSubIncident
properties:
enabled: false
name: string
position: 0
skipOnFailure: false
taskParams:
environmentIds:
- string
functionalityIds:
- string
groupIds:
- string
incidentTypeIds:
- string
private: false
serviceIds:
- string
severityId: string
summary: string
taskType: string
title: string
workflowId: string
WorkflowTaskCreateSubIncident 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 WorkflowTaskCreateSubIncident resource accepts the following input properties:
- Task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Sub Incident Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- task_
params object - The parameters for this workflow task.
- workflow_
id string - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Sub Incident Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowTaskCreateSubIncident 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 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 WorkflowTaskCreateSubIncident Resource
Get an existing WorkflowTaskCreateSubIncident 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?: WorkflowTaskCreateSubIncidentState, opts?: CustomResourceOptions): WorkflowTaskCreateSubIncident@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None,
skip_on_failure: Optional[bool] = None,
task_params: Optional[WorkflowTaskCreateSubIncidentTaskParamsArgs] = None,
workflow_id: Optional[str] = None) -> WorkflowTaskCreateSubIncidentfunc GetWorkflowTaskCreateSubIncident(ctx *Context, name string, id IDInput, state *WorkflowTaskCreateSubIncidentState, opts ...ResourceOption) (*WorkflowTaskCreateSubIncident, error)public static WorkflowTaskCreateSubIncident Get(string name, Input<string> id, WorkflowTaskCreateSubIncidentState? state, CustomResourceOptions? opts = null)public static WorkflowTaskCreateSubIncident get(String name, Output<String> id, WorkflowTaskCreateSubIncidentState state, CustomResourceOptions options)resources: _: type: rootly:WorkflowTaskCreateSubIncident get: id: ${id}import {
to = rootly_workflow_task_create_sub_incident.example
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.
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- Enabled bool
- Enable/disable this workflow task
- Name string
- Name of the workflow task
- Position int
- The position of the workflow task (1 being top of list)
- Skip
On boolFailure - Skip workflow task if any failures
- Task
Params WorkflowTask Create Sub Incident Task Params Args - The parameters for this workflow task.
- Workflow
Id string - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task_
params object - The parameters for this workflow task.
- workflow_
id string - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Integer
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
- enabled boolean
- Enable/disable this workflow task
- name string
- Name of the workflow task
- position number
- The position of the workflow task (1 being top of list)
- skip
On booleanFailure - Skip workflow task if any failures
- task
Params WorkflowTask Create Sub Incident Task Params - The parameters for this workflow task.
- workflow
Id string - The ID of the parent workflow
- enabled bool
- Enable/disable this workflow task
- name str
- Name of the workflow task
- position int
- The position of the workflow task (1 being top of list)
- skip_
on_ boolfailure - Skip workflow task if any failures
- task_
params WorkflowTask Create Sub Incident Task Params Args - The parameters for this workflow task.
- workflow_
id str - The ID of the parent workflow
- enabled Boolean
- Enable/disable this workflow task
- name String
- Name of the workflow task
- position Number
- The position of the workflow task (1 being top of list)
- skip
On BooleanFailure - Skip workflow task if any failures
- task
Params Property Map - The parameters for this workflow task.
- workflow
Id String - The ID of the parent workflow
Supporting Types
WorkflowTaskCreateSubIncidentTaskParams, WorkflowTaskCreateSubIncidentTaskParamsArgs
- Title string
- The sub incident title
- Environment
Ids List<string> - Array of environment UUIDs. Inherited from the parent incident when blank
- Functionality
Ids List<string> - Array of functionality UUIDs. Inherited from the parent incident when blank
- Group
Ids List<string> - Array of group/team UUIDs. Inherited from the parent incident when blank
- Incident
Type List<string>Ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- Private bool
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- Service
Ids List<string> - Array of service UUIDs. Inherited from the parent incident when blank
- Severity
Id string - Inherited from the parent incident when blank
- Summary string
- The sub incident summary
- Task
Type string
- Title string
- The sub incident title
- Environment
Ids []string - Array of environment UUIDs. Inherited from the parent incident when blank
- Functionality
Ids []string - Array of functionality UUIDs. Inherited from the parent incident when blank
- Group
Ids []string - Array of group/team UUIDs. Inherited from the parent incident when blank
- Incident
Type []stringIds - Array of incident type UUIDs. Inherited from the parent incident when blank
- Private bool
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- Service
Ids []string - Array of service UUIDs. Inherited from the parent incident when blank
- Severity
Id string - Inherited from the parent incident when blank
- Summary string
- The sub incident summary
- Task
Type string
- title string
- The sub incident title
- environment_
ids list(string) - Array of environment UUIDs. Inherited from the parent incident when blank
- functionality_
ids list(string) - Array of functionality UUIDs. Inherited from the parent incident when blank
- group_
ids list(string) - Array of group/team UUIDs. Inherited from the parent incident when blank
- incident_
type_ list(string)ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- private bool
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- service_
ids list(string) - Array of service UUIDs. Inherited from the parent incident when blank
- severity_
id string - Inherited from the parent incident when blank
- summary string
- The sub incident summary
- task_
type string
- title String
- The sub incident title
- environment
Ids List<String> - Array of environment UUIDs. Inherited from the parent incident when blank
- functionality
Ids List<String> - Array of functionality UUIDs. Inherited from the parent incident when blank
- group
Ids List<String> - Array of group/team UUIDs. Inherited from the parent incident when blank
- incident
Type List<String>Ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- private_ Boolean
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- service
Ids List<String> - Array of service UUIDs. Inherited from the parent incident when blank
- severity
Id String - Inherited from the parent incident when blank
- summary String
- The sub incident summary
- task
Type String
- title string
- The sub incident title
- environment
Ids string[] - Array of environment UUIDs. Inherited from the parent incident when blank
- functionality
Ids string[] - Array of functionality UUIDs. Inherited from the parent incident when blank
- group
Ids string[] - Array of group/team UUIDs. Inherited from the parent incident when blank
- incident
Type string[]Ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- private boolean
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- service
Ids string[] - Array of service UUIDs. Inherited from the parent incident when blank
- severity
Id string - Inherited from the parent incident when blank
- summary string
- The sub incident summary
- task
Type string
- title str
- The sub incident title
- environment_
ids Sequence[str] - Array of environment UUIDs. Inherited from the parent incident when blank
- functionality_
ids Sequence[str] - Array of functionality UUIDs. Inherited from the parent incident when blank
- group_
ids Sequence[str] - Array of group/team UUIDs. Inherited from the parent incident when blank
- incident_
type_ Sequence[str]ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- private bool
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- service_
ids Sequence[str] - Array of service UUIDs. Inherited from the parent incident when blank
- severity_
id str - Inherited from the parent incident when blank
- summary str
- The sub incident summary
- task_
type str
- title String
- The sub incident title
- environment
Ids List<String> - Array of environment UUIDs. Inherited from the parent incident when blank
- functionality
Ids List<String> - Array of functionality UUIDs. Inherited from the parent incident when blank
- group
Ids List<String> - Array of group/team UUIDs. Inherited from the parent incident when blank
- incident
Type List<String>Ids - Array of incident type UUIDs. Inherited from the parent incident when blank
- private Boolean
- Make the sub incident private. Cannot make it public when the parent incident is private. Value must be one of true or false
- service
Ids List<String> - Array of service UUIDs. Inherited from the parent incident when blank
- severity
Id String - Inherited from the parent incident when blank
- summary String
- The sub incident summary
- task
Type String
Import
rootly.WorkflowTaskCreateSubIncident can be imported using the import command.
$ pulumi import rootly:index/workflowTaskCreateSubIncident:WorkflowTaskCreateSubIncident primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, Nov 12, 2026 by rootlyhq