published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Manages workflow updateIncident task.
Create WorkflowTaskUpdateIncident Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowTaskUpdateIncident(name: string, args: WorkflowTaskUpdateIncidentArgs, opts?: CustomResourceOptions);@overload
def WorkflowTaskUpdateIncident(resource_name: str,
args: WorkflowTaskUpdateIncidentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowTaskUpdateIncident(resource_name: str,
opts: Optional[ResourceOptions] = None,
task_params: Optional[WorkflowTaskUpdateIncidentTaskParamsArgs] = 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 NewWorkflowTaskUpdateIncident(ctx *Context, name string, args WorkflowTaskUpdateIncidentArgs, opts ...ResourceOption) (*WorkflowTaskUpdateIncident, error)public WorkflowTaskUpdateIncident(string name, WorkflowTaskUpdateIncidentArgs args, CustomResourceOptions? opts = null)
public WorkflowTaskUpdateIncident(String name, WorkflowTaskUpdateIncidentArgs args)
public WorkflowTaskUpdateIncident(String name, WorkflowTaskUpdateIncidentArgs args, CustomResourceOptions options)
type: rootly:WorkflowTaskUpdateIncident
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 WorkflowTaskUpdateIncidentArgs
- 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 WorkflowTaskUpdateIncidentArgs
- 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 WorkflowTaskUpdateIncidentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowTaskUpdateIncidentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowTaskUpdateIncidentArgs
- 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 workflowTaskUpdateIncidentResource = new Rootly.WorkflowTaskUpdateIncident("workflowTaskUpdateIncidentResource", new()
{
TaskParams = new Rootly.Inputs.WorkflowTaskUpdateIncidentTaskParamsArgs
{
IncidentId = "string",
IncidentTypeIds = new[]
{
"string",
},
ResolvedAt = "string",
DetectedAt = "string",
EnvironmentIds = new[]
{
"string",
},
FunctionalityIds = new[]
{
"string",
},
GroupIds = new[]
{
"string",
},
AttributeToQueryBy = "string",
AcknowledgedAt = "string",
CustomFieldsMapping = "string",
MitigatedAt = "string",
Private = false,
ServiceIds = new[]
{
"string",
},
SeverityId = "string",
StartedAt = "string",
Status = "string",
Summary = "string",
TaskType = "string",
Title = "string",
},
WorkflowId = "string",
Enabled = false,
Name = "string",
Position = 0,
SkipOnFailure = false,
});
example, err := rootly.NewWorkflowTaskUpdateIncident(ctx, "workflowTaskUpdateIncidentResource", &rootly.WorkflowTaskUpdateIncidentArgs{
TaskParams: &rootly.WorkflowTaskUpdateIncidentTaskParamsArgs{
IncidentId: pulumi.String("string"),
IncidentTypeIds: pulumi.StringArray{
pulumi.String("string"),
},
ResolvedAt: pulumi.String("string"),
DetectedAt: pulumi.String("string"),
EnvironmentIds: pulumi.StringArray{
pulumi.String("string"),
},
FunctionalityIds: pulumi.StringArray{
pulumi.String("string"),
},
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
AttributeToQueryBy: pulumi.String("string"),
AcknowledgedAt: pulumi.String("string"),
CustomFieldsMapping: pulumi.String("string"),
MitigatedAt: pulumi.String("string"),
Private: pulumi.Bool(false),
ServiceIds: pulumi.StringArray{
pulumi.String("string"),
},
SeverityId: pulumi.String("string"),
StartedAt: pulumi.String("string"),
Status: pulumi.String("string"),
Summary: pulumi.String("string"),
TaskType: pulumi.String("string"),
Title: pulumi.String("string"),
},
WorkflowId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
SkipOnFailure: pulumi.Bool(false),
})
var workflowTaskUpdateIncidentResource = new WorkflowTaskUpdateIncident("workflowTaskUpdateIncidentResource", WorkflowTaskUpdateIncidentArgs.builder()
.taskParams(WorkflowTaskUpdateIncidentTaskParamsArgs.builder()
.incidentId("string")
.incidentTypeIds("string")
.resolvedAt("string")
.detectedAt("string")
.environmentIds("string")
.functionalityIds("string")
.groupIds("string")
.attributeToQueryBy("string")
.acknowledgedAt("string")
.customFieldsMapping("string")
.mitigatedAt("string")
.private_(false)
.serviceIds("string")
.severityId("string")
.startedAt("string")
.status("string")
.summary("string")
.taskType("string")
.title("string")
.build())
.workflowId("string")
.enabled(false)
.name("string")
.position(0)
.skipOnFailure(false)
.build());
workflow_task_update_incident_resource = rootly.WorkflowTaskUpdateIncident("workflowTaskUpdateIncidentResource",
task_params={
"incident_id": "string",
"incident_type_ids": ["string"],
"resolved_at": "string",
"detected_at": "string",
"environment_ids": ["string"],
"functionality_ids": ["string"],
"group_ids": ["string"],
"attribute_to_query_by": "string",
"acknowledged_at": "string",
"custom_fields_mapping": "string",
"mitigated_at": "string",
"private": False,
"service_ids": ["string"],
"severity_id": "string",
"started_at": "string",
"status": "string",
"summary": "string",
"task_type": "string",
"title": "string",
},
workflow_id="string",
enabled=False,
name="string",
position=0,
skip_on_failure=False)
const workflowTaskUpdateIncidentResource = new rootly.WorkflowTaskUpdateIncident("workflowTaskUpdateIncidentResource", {
taskParams: {
incidentId: "string",
incidentTypeIds: ["string"],
resolvedAt: "string",
detectedAt: "string",
environmentIds: ["string"],
functionalityIds: ["string"],
groupIds: ["string"],
attributeToQueryBy: "string",
acknowledgedAt: "string",
customFieldsMapping: "string",
mitigatedAt: "string",
"private": false,
serviceIds: ["string"],
severityId: "string",
startedAt: "string",
status: "string",
summary: "string",
taskType: "string",
title: "string",
},
workflowId: "string",
enabled: false,
name: "string",
position: 0,
skipOnFailure: false,
});
type: rootly:WorkflowTaskUpdateIncident
properties:
enabled: false
name: string
position: 0
skipOnFailure: false
taskParams:
acknowledgedAt: string
attributeToQueryBy: string
customFieldsMapping: string
detectedAt: string
environmentIds:
- string
functionalityIds:
- string
groupIds:
- string
incidentId: string
incidentTypeIds:
- string
mitigatedAt: string
private: false
resolvedAt: string
serviceIds:
- string
severityId: string
startedAt: string
status: string
summary: string
taskType: string
title: string
workflowId: string
WorkflowTaskUpdateIncident 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 WorkflowTaskUpdateIncident resource accepts the following input properties:
- Task
Params WorkflowTask Update 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 Update 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 WorkflowTask Update 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 Update 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 Update 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 WorkflowTaskUpdateIncident 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 WorkflowTaskUpdateIncident Resource
Get an existing WorkflowTaskUpdateIncident 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?: WorkflowTaskUpdateIncidentState, opts?: CustomResourceOptions): WorkflowTaskUpdateIncident@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[WorkflowTaskUpdateIncidentTaskParamsArgs] = None,
workflow_id: Optional[str] = None) -> WorkflowTaskUpdateIncidentfunc GetWorkflowTaskUpdateIncident(ctx *Context, name string, id IDInput, state *WorkflowTaskUpdateIncidentState, opts ...ResourceOption) (*WorkflowTaskUpdateIncident, error)public static WorkflowTaskUpdateIncident Get(string name, Input<string> id, WorkflowTaskUpdateIncidentState? state, CustomResourceOptions? opts = null)public static WorkflowTaskUpdateIncident get(String name, Output<String> id, WorkflowTaskUpdateIncidentState state, CustomResourceOptions options)resources: _: type: rootly:WorkflowTaskUpdateIncident 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.
- 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 Update 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 Update Incident Task Params Args - 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 Update 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 Update 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 Update 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
WorkflowTaskUpdateIncidentTaskParams, WorkflowTaskUpdateIncidentTaskParamsArgs
- Incident
Id string - The incident id to update or id of any attribute on the incident
- Acknowledged
At string - Attribute
To stringQuery By - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - Custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- Detected
At string - Environment
Ids List<string> - Functionality
Ids List<string> - Array of functionality UUIDs
- Group
Ids List<string> - Array of group/team UUIDs
- Incident
Type List<string>Ids - Mitigated
At string - Private bool
- Value must be one of true or false
- Resolved
At string - Service
Ids List<string> - Array of service UUIDs
- Severity
Id string - Started
At string - Status string
- Summary string
- The incident summary
- Task
Type string - Title string
- The incident title
- Incident
Id string - The incident id to update or id of any attribute on the incident
- Acknowledged
At string - Attribute
To stringQuery By - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - Custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- Detected
At string - Environment
Ids []string - Functionality
Ids []string - Array of functionality UUIDs
- Group
Ids []string - Array of group/team UUIDs
- Incident
Type []stringIds - Mitigated
At string - Private bool
- Value must be one of true or false
- Resolved
At string - Service
Ids []string - Array of service UUIDs
- Severity
Id string - Started
At string - Status string
- Summary string
- The incident summary
- Task
Type string - Title string
- The incident title
- incident
Id String - The incident id to update or id of any attribute on the incident
- acknowledged
At String - attribute
To StringQuery By - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - custom
Fields StringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- detected
At String - environment
Ids List<String> - functionality
Ids List<String> - Array of functionality UUIDs
- group
Ids List<String> - Array of group/team UUIDs
- incident
Type List<String>Ids - mitigated
At String - private_ Boolean
- Value must be one of true or false
- resolved
At String - service
Ids List<String> - Array of service UUIDs
- severity
Id String - started
At String - status String
- summary String
- The incident summary
- task
Type String - title String
- The incident title
- incident
Id string - The incident id to update or id of any attribute on the incident
- acknowledged
At string - attribute
To stringQuery By - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - custom
Fields stringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- detected
At string - environment
Ids string[] - functionality
Ids string[] - Array of functionality UUIDs
- group
Ids string[] - Array of group/team UUIDs
- incident
Type string[]Ids - mitigated
At string - private boolean
- Value must be one of true or false
- resolved
At string - service
Ids string[] - Array of service UUIDs
- severity
Id string - started
At string - status string
- summary string
- The incident summary
- task
Type string - title string
- The incident title
- incident_
id str - The incident id to update or id of any attribute on the incident
- acknowledged_
at str - attribute_
to_ strquery_ by - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - custom_
fields_ strmapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- detected_
at str - environment_
ids Sequence[str] - functionality_
ids Sequence[str] - Array of functionality UUIDs
- group_
ids Sequence[str] - Array of group/team UUIDs
- incident_
type_ Sequence[str]ids - mitigated_
at str - private bool
- Value must be one of true or false
- resolved_
at str - service_
ids Sequence[str] - Array of service UUIDs
- severity_
id str - started_
at str - status str
- summary str
- The incident summary
- task_
type str - title str
- The incident title
- incident
Id String - The incident id to update or id of any attribute on the incident
- acknowledged
At String - attribute
To StringQuery By - Value must be one of
id,slug,sequentialId,pagerdutyIncidentId,opsgenieIncidentId,victorOpsIncidentId,jiraIssueId,asanaTaskId,shortcutTaskId,linearIssueId,zendeskTicketId,motionTaskId,trelloCardId,airtableRecordId,shortcutStoryId,githubIssueId,gitlabIssueId,freshserviceTicketId,freshserviceTaskId,clickupTaskId. - custom
Fields StringMapping - Custom field mappings. Can contain liquid markup and need to be valid JSON. Use 'services', 'functionalities', or 'groups' keys with arrays of names/slugs for name/slug lookup
- detected
At String - environment
Ids List<String> - functionality
Ids List<String> - Array of functionality UUIDs
- group
Ids List<String> - Array of group/team UUIDs
- incident
Type List<String>Ids - mitigated
At String - private Boolean
- Value must be one of true or false
- resolved
At String - service
Ids List<String> - Array of service UUIDs
- severity
Id String - started
At String - status String
- summary String
- The incident summary
- task
Type String - title String
- The incident title
Import
rootly.WorkflowTaskUpdateIncident can be imported using the import command.
$ pulumi import rootly:index/workflowTaskUpdateIncident:WorkflowTaskUpdateIncident 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, May 7, 2026 by rootlyhq
