Creates a new workflow form field condition from provided data
curl --request POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/form_field_conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "workflow_form_field_conditions",
"attributes": {
"form_field_id": "<string>",
"incident_condition": "ANY",
"workflow_id": "<string>",
"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": "bc3fc75e-8bfe-4b2b-8b47-c5751b77b5ca",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "ba71f73a-e3eb-498d-a6a1-325802a8f391",
"form_field_id": "2370d378-99c0-4e82-af1f-51f2f85267d3",
"incident_condition": "ANY",
"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 custom field for this condition
The trigger condition
IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET The workflow for this condition
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 created
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 POST \
--url https://api.rootly.com/v1/workflows/{workflow_id}/form_field_conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "workflow_form_field_conditions",
"attributes": {
"form_field_id": "<string>",
"incident_condition": "ANY",
"workflow_id": "<string>",
"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": "bc3fc75e-8bfe-4b2b-8b47-c5751b77b5ca",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "ba71f73a-e3eb-498d-a6a1-325802a8f391",
"form_field_id": "2370d378-99c0-4e82-af1f-51f2f85267d3",
"incident_condition": "ANY",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}