Skip to main content
POST
/
v1
/
workflows
/
{workflow_id}
/
form_field_conditions
Creates a workflow form field condition
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": {
      "workflow_id": "<string>",
      "form_field_id": "<string>",
      "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": "6e5b81c5-ecd0-47ba-845e-42423e6ebf7d",
    "type": "workflow_form_field_conditions",
    "attributes": {
      "workflow_id": "7952feff-d8f8-454e-84e3-da89bd4eaeb1",
      "form_field_id": "655373ad-4d67-4577-9811-28c0e03bfb47",
      "incident_condition": "ANY",
      "values": [],
      "selected_group_ids": [],
      "selected_option_ids": [],
      "selected_service_ids": [],
      "selected_functionality_ids": [],
      "selected_user_ids": [],
      "selected_catalog_entity_ids": []
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required

Body

application/vnd.api+json
data
object
required

Response

workflow_form_field_condition created

data
object
required
I