Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[DEPRECATED] CustomFieldOptions
[DEPRECATED] CustomFields
CustomForms
DashboardPanels
Dashboards
Environments
EscalationPolicies
EscalationLevelsPolicies
EscalationLevelsPath
EscalationLevels
EscalationPaths
FormFieldOptions
FormFieldPlacementConditions
FormFieldPlacements
FormFieldPositions
FormFields
FormSetConditions
FormSets
Functionalities
WorkflowTasks
[DEPRECATED] WorkflowCustomFieldSelections
WorkflowFormFieldConditions
WorkflowGroups
WorkflowRuns
Workflows
Heartbeats
IncidentActionItems
[DEPRECATED] IncidentCustomFieldSelections
IncidentEventFunctionalities
IncidentEventServices
IncidentEvents
IncidentFeedbacks
IncidentFormFieldSelections
IncidentPermissionSetBooleans
IncidentPermissionSetResources
IncidentPermissionSets
IncidentRetrospectives
IncidentRetrospectiveSteps
IncidentRoleTasks
IncidentRoles
IncidentStatusPageEvents
IncidentSubStatuses
IncidentTypes
Incidents
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
Creates a workflow form field condition
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": {
"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": "8fe78ed6-2250-48a3-9277-24ae30af40ff",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "459822dc-cee3-40f7-9360-3f2c1bc6d948",
"form_field_id": "90b32a61-6c90-4b8d-bdc7-1732a4c22cb0",
"incident_condition": "ANY",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
workflow_form_field_conditions
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
Response
Unique ID of the workflow_form_field_condition
workflow_form_field_conditions
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
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": "8fe78ed6-2250-48a3-9277-24ae30af40ff",
"type": "workflow_form_field_conditions",
"attributes": {
"workflow_id": "459822dc-cee3-40f7-9360-3f2c1bc6d948",
"form_field_id": "90b32a61-6c90-4b8d-bdc7-1732a4c22cb0",
"incident_condition": "ANY",
"values": [],
"selected_group_ids": [],
"selected_option_ids": [],
"selected_service_ids": [],
"selected_functionality_ids": [],
"selected_user_ids": [],
"selected_catalog_entity_ids": []
}
}
}