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": "5a7f15bd-c0a8-4262-8a88-27200ceb635a",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "0ae3e52d-ea56-4665-aa56-801b04e57151",
"form_field_id": "2bf7135b-ef78-40b8-a639-cbceb2fb3d7e",
"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_condition created
Show child attributes
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": "5a7f15bd-c0a8-4262-8a88-27200ceb635a",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "0ae3e52d-ea56-4665-aa56-801b04e57151",
"form_field_id": "2bf7135b-ef78-40b8-a639-cbceb2fb3d7e",
"incident_condition": "ANY",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}