Update a specific workflow form field condition by id
curl --request PUT \
--url https://api.rootly.com/v1/workflow_form_field_conditions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "workflow_form_field_conditions",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_catalog_entity_ids": [
"<string>"
],
"selected_functionality_ids": [
"<string>"
],
"selected_group_ids": [
"<string>"
],
"selected_option_ids": [
"<string>"
],
"selected_service_ids": [
"<string>"
],
"selected_user_ids": [
123
]
}
}
}
'{
"data": {
"id": "3221ede4-38ce-4692-88ca-e363210de17f",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "25af915d-5dff-4dd7-8f88-c23b41890db0",
"form_field_id": "3836c479-dfb6-4f38-9683-dd1b722510fa",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
workflow_form_field_conditions Show child attributes
The trigger condition
IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET The value to associate with the custom field trigger
The selected catalog entities for select and multi_select kinds
The selected functionalities for select and multi_select kinds
The selected groups (teams) for select and multi_select kinds
The selected option id for select and multi_select kinds
The selected services for select and multi_select kinds
The selected user id for select and multi_select kinds
workflow_form_field_condition updated
Show child attributes
Unique ID of the workflow_form_field_condition
workflow_form_field_conditions Show child attributes
The workflow for this condition
The custom field for this condition
The trigger condition
IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET The selected catalog entities for select and multi_select kinds
The selected option id for select and multi_select kinds
The selected user id for select and multi_select kinds
The value to associate with the custom field trigger
The selected functionalities for select and multi_select kinds
The selected groups (teams) for select and multi_select kinds
The selected services for select and multi_select kinds
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/workflow_form_field_conditions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "workflow_form_field_conditions",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_catalog_entity_ids": [
"<string>"
],
"selected_functionality_ids": [
"<string>"
],
"selected_group_ids": [
"<string>"
],
"selected_option_ids": [
"<string>"
],
"selected_service_ids": [
"<string>"
],
"selected_user_ids": [
123
]
}
}
}
'{
"data": {
"id": "3221ede4-38ce-4692-88ca-e363210de17f",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "25af915d-5dff-4dd7-8f88-c23b41890db0",
"form_field_id": "3836c479-dfb6-4f38-9683-dd1b722510fa",
"incident_condition": "IS",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}