1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. WorkflowFormFieldCondition
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Import

    rootly.WorkflowFormFieldCondition can be imported using the import command.

    $ pulumi import rootly:index/workflowFormFieldCondition:WorkflowFormFieldCondition 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
    

    Create WorkflowFormFieldCondition Resource

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

    Constructor syntax

    new WorkflowFormFieldCondition(name: string, args: WorkflowFormFieldConditionArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowFormFieldCondition(resource_name: str,
                                   args: WorkflowFormFieldConditionArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowFormFieldCondition(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   form_field_id: Optional[str] = None,
                                   incident_condition: Optional[str] = None,
                                   selected_catalog_entity_ids: Optional[Sequence[str]] = None,
                                   selected_cause_ids: Optional[Sequence[str]] = None,
                                   selected_environment_ids: Optional[Sequence[str]] = None,
                                   selected_functionality_ids: Optional[Sequence[str]] = None,
                                   selected_group_ids: Optional[Sequence[str]] = None,
                                   selected_incident_type_ids: Optional[Sequence[str]] = None,
                                   selected_option_ids: Optional[Sequence[str]] = None,
                                   selected_service_ids: Optional[Sequence[str]] = None,
                                   selected_user_ids: Optional[Sequence[int]] = None,
                                   values: Optional[Sequence[str]] = None,
                                   workflow_id: Optional[str] = None)
    func NewWorkflowFormFieldCondition(ctx *Context, name string, args WorkflowFormFieldConditionArgs, opts ...ResourceOption) (*WorkflowFormFieldCondition, error)
    public WorkflowFormFieldCondition(string name, WorkflowFormFieldConditionArgs args, CustomResourceOptions? opts = null)
    public WorkflowFormFieldCondition(String name, WorkflowFormFieldConditionArgs args)
    public WorkflowFormFieldCondition(String name, WorkflowFormFieldConditionArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowFormFieldCondition
    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 WorkflowFormFieldConditionArgs
    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 WorkflowFormFieldConditionArgs
    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 WorkflowFormFieldConditionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowFormFieldConditionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowFormFieldConditionArgs
    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 workflowFormFieldConditionResource = new Rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource", new()
    {
        FormFieldId = "string",
        IncidentCondition = "string",
        SelectedCatalogEntityIds = new[]
        {
            "string",
        },
        SelectedCauseIds = new[]
        {
            "string",
        },
        SelectedEnvironmentIds = new[]
        {
            "string",
        },
        SelectedFunctionalityIds = new[]
        {
            "string",
        },
        SelectedGroupIds = new[]
        {
            "string",
        },
        SelectedIncidentTypeIds = new[]
        {
            "string",
        },
        SelectedOptionIds = new[]
        {
            "string",
        },
        SelectedServiceIds = new[]
        {
            "string",
        },
        SelectedUserIds = new[]
        {
            0,
        },
        Values = new[]
        {
            "string",
        },
        WorkflowId = "string",
    });
    
    example, err := rootly.NewWorkflowFormFieldCondition(ctx, "workflowFormFieldConditionResource", &rootly.WorkflowFormFieldConditionArgs{
    	FormFieldId:       pulumi.String("string"),
    	IncidentCondition: pulumi.String("string"),
    	SelectedCatalogEntityIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedCauseIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedEnvironmentIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedFunctionalityIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedIncidentTypeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedOptionIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedServiceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedUserIds: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	Values: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WorkflowId: pulumi.String("string"),
    })
    
    var workflowFormFieldConditionResource = new WorkflowFormFieldCondition("workflowFormFieldConditionResource", WorkflowFormFieldConditionArgs.builder()
        .formFieldId("string")
        .incidentCondition("string")
        .selectedCatalogEntityIds("string")
        .selectedCauseIds("string")
        .selectedEnvironmentIds("string")
        .selectedFunctionalityIds("string")
        .selectedGroupIds("string")
        .selectedIncidentTypeIds("string")
        .selectedOptionIds("string")
        .selectedServiceIds("string")
        .selectedUserIds(0)
        .values("string")
        .workflowId("string")
        .build());
    
    workflow_form_field_condition_resource = rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource",
        form_field_id="string",
        incident_condition="string",
        selected_catalog_entity_ids=["string"],
        selected_cause_ids=["string"],
        selected_environment_ids=["string"],
        selected_functionality_ids=["string"],
        selected_group_ids=["string"],
        selected_incident_type_ids=["string"],
        selected_option_ids=["string"],
        selected_service_ids=["string"],
        selected_user_ids=[0],
        values=["string"],
        workflow_id="string")
    
    const workflowFormFieldConditionResource = new rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource", {
        formFieldId: "string",
        incidentCondition: "string",
        selectedCatalogEntityIds: ["string"],
        selectedCauseIds: ["string"],
        selectedEnvironmentIds: ["string"],
        selectedFunctionalityIds: ["string"],
        selectedGroupIds: ["string"],
        selectedIncidentTypeIds: ["string"],
        selectedOptionIds: ["string"],
        selectedServiceIds: ["string"],
        selectedUserIds: [0],
        values: ["string"],
        workflowId: "string",
    });
    
    type: rootly:WorkflowFormFieldCondition
    properties:
        formFieldId: string
        incidentCondition: string
        selectedCatalogEntityIds:
            - string
        selectedCauseIds:
            - string
        selectedEnvironmentIds:
            - string
        selectedFunctionalityIds:
            - string
        selectedGroupIds:
            - string
        selectedIncidentTypeIds:
            - string
        selectedOptionIds:
            - string
        selectedServiceIds:
            - string
        selectedUserIds:
            - 0
        values:
            - string
        workflowId: string
    

    WorkflowFormFieldCondition 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 WorkflowFormFieldCondition resource accepts the following input properties:

    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedCatalogEntityIds List<string>
    SelectedCauseIds List<string>
    SelectedEnvironmentIds List<string>
    SelectedFunctionalityIds List<string>
    SelectedGroupIds List<string>
    SelectedIncidentTypeIds List<string>
    SelectedOptionIds List<string>
    SelectedServiceIds List<string>
    SelectedUserIds List<int>
    Values List<string>
    WorkflowId string
    The workflow for this condition
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedCatalogEntityIds []string
    SelectedCauseIds []string
    SelectedEnvironmentIds []string
    SelectedFunctionalityIds []string
    SelectedGroupIds []string
    SelectedIncidentTypeIds []string
    SelectedOptionIds []string
    SelectedServiceIds []string
    SelectedUserIds []int
    Values []string
    WorkflowId string
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds List<String>
    selectedCauseIds List<String>
    selectedEnvironmentIds List<String>
    selectedFunctionalityIds List<String>
    selectedGroupIds List<String>
    selectedIncidentTypeIds List<String>
    selectedOptionIds List<String>
    selectedServiceIds List<String>
    selectedUserIds List<Integer>
    values List<String>
    workflowId String
    The workflow for this condition
    formFieldId string
    The custom field for this condition
    incidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds string[]
    selectedCauseIds string[]
    selectedEnvironmentIds string[]
    selectedFunctionalityIds string[]
    selectedGroupIds string[]
    selectedIncidentTypeIds string[]
    selectedOptionIds string[]
    selectedServiceIds string[]
    selectedUserIds number[]
    values string[]
    workflowId string
    The workflow for this condition
    form_field_id str
    The custom field for this condition
    incident_condition str
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selected_catalog_entity_ids Sequence[str]
    selected_cause_ids Sequence[str]
    selected_environment_ids Sequence[str]
    selected_functionality_ids Sequence[str]
    selected_group_ids Sequence[str]
    selected_incident_type_ids Sequence[str]
    selected_option_ids Sequence[str]
    selected_service_ids Sequence[str]
    selected_user_ids Sequence[int]
    values Sequence[str]
    workflow_id str
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds List<String>
    selectedCauseIds List<String>
    selectedEnvironmentIds List<String>
    selectedFunctionalityIds List<String>
    selectedGroupIds List<String>
    selectedIncidentTypeIds List<String>
    selectedOptionIds List<String>
    selectedServiceIds List<String>
    selectedUserIds List<Number>
    values List<String>
    workflowId String
    The workflow for this condition

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkflowFormFieldCondition 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 WorkflowFormFieldCondition Resource

    Get an existing WorkflowFormFieldCondition 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?: WorkflowFormFieldConditionState, opts?: CustomResourceOptions): WorkflowFormFieldCondition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            form_field_id: Optional[str] = None,
            incident_condition: Optional[str] = None,
            selected_catalog_entity_ids: Optional[Sequence[str]] = None,
            selected_cause_ids: Optional[Sequence[str]] = None,
            selected_environment_ids: Optional[Sequence[str]] = None,
            selected_functionality_ids: Optional[Sequence[str]] = None,
            selected_group_ids: Optional[Sequence[str]] = None,
            selected_incident_type_ids: Optional[Sequence[str]] = None,
            selected_option_ids: Optional[Sequence[str]] = None,
            selected_service_ids: Optional[Sequence[str]] = None,
            selected_user_ids: Optional[Sequence[int]] = None,
            values: Optional[Sequence[str]] = None,
            workflow_id: Optional[str] = None) -> WorkflowFormFieldCondition
    func GetWorkflowFormFieldCondition(ctx *Context, name string, id IDInput, state *WorkflowFormFieldConditionState, opts ...ResourceOption) (*WorkflowFormFieldCondition, error)
    public static WorkflowFormFieldCondition Get(string name, Input<string> id, WorkflowFormFieldConditionState? state, CustomResourceOptions? opts = null)
    public static WorkflowFormFieldCondition get(String name, Output<String> id, WorkflowFormFieldConditionState state, CustomResourceOptions options)
    resources:  _:    type: rootly:WorkflowFormFieldCondition    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:
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedCatalogEntityIds List<string>
    SelectedCauseIds List<string>
    SelectedEnvironmentIds List<string>
    SelectedFunctionalityIds List<string>
    SelectedGroupIds List<string>
    SelectedIncidentTypeIds List<string>
    SelectedOptionIds List<string>
    SelectedServiceIds List<string>
    SelectedUserIds List<int>
    Values List<string>
    WorkflowId string
    The workflow for this condition
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedCatalogEntityIds []string
    SelectedCauseIds []string
    SelectedEnvironmentIds []string
    SelectedFunctionalityIds []string
    SelectedGroupIds []string
    SelectedIncidentTypeIds []string
    SelectedOptionIds []string
    SelectedServiceIds []string
    SelectedUserIds []int
    Values []string
    WorkflowId string
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds List<String>
    selectedCauseIds List<String>
    selectedEnvironmentIds List<String>
    selectedFunctionalityIds List<String>
    selectedGroupIds List<String>
    selectedIncidentTypeIds List<String>
    selectedOptionIds List<String>
    selectedServiceIds List<String>
    selectedUserIds List<Integer>
    values List<String>
    workflowId String
    The workflow for this condition
    formFieldId string
    The custom field for this condition
    incidentCondition string
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds string[]
    selectedCauseIds string[]
    selectedEnvironmentIds string[]
    selectedFunctionalityIds string[]
    selectedGroupIds string[]
    selectedIncidentTypeIds string[]
    selectedOptionIds string[]
    selectedServiceIds string[]
    selectedUserIds number[]
    values string[]
    workflowId string
    The workflow for this condition
    form_field_id str
    The custom field for this condition
    incident_condition str
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selected_catalog_entity_ids Sequence[str]
    selected_cause_ids Sequence[str]
    selected_environment_ids Sequence[str]
    selected_functionality_ids Sequence[str]
    selected_group_ids Sequence[str]
    selected_incident_type_ids Sequence[str]
    selected_option_ids Sequence[str]
    selected_service_ids Sequence[str]
    selected_user_ids Sequence[int]
    values Sequence[str]
    workflow_id str
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedCatalogEntityIds List<String>
    selectedCauseIds List<String>
    selectedEnvironmentIds List<String>
    selectedFunctionalityIds List<String>
    selectedGroupIds List<String>
    selectedIncidentTypeIds List<String>
    selectedOptionIds List<String>
    selectedServiceIds List<String>
    selectedUserIds List<Number>
    values List<String>
    workflowId String
    The workflow for this condition

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.