Anchor to AutomationWorkflowTestRunStartUserErrorAutomation
objectAutomation Workflow Test Run Start User Error
Requires access scope.
An error that prevented an automation test run from starting.
Anchor to FieldsFields
- code (AutomationWorkflowTestRunStartUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Automation
Workflow Test Run Start User Error Code The error code.
Show enum values
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- automationWorkflowTestRunStart (AutomationWorkflowTestRunStartPayload)
- •mutation
Starts one test run of the latest automation version, the latest draft or otherwise the main version, with one saved test event. Steps with side effects are stubbed, and the test event selected in the automation editor doesn't change. The returned run is accepted, not completed: read the run by its ID for the outcome.
Show payload
- Anchor to testEventIdtest•ID!
Event Id required The ID of one of the automation's saved test events. The run uses its trigger data.
- Anchor to versionversion•String!required
The version the caller expects to be the latest. If it isn't, no run starts. It isn't a way to test an earlier version.
- Anchor to workflowIdworkflow•ID!
Id required The ID of the automation to test.
Arguments
Was this section helpful?