Anchor to automationTestEventsCreateautomation
mutationautomation Test Events Create
Requires access scope. Also: The app must have write access to automations and act on behalf of a user.
Creates custom test events for an automation. If any event is invalid, or the events would exceed the automation's custom test event limit, none of them are created.
Anchor to Arguments
Arguments
- events ([AutomationTestEventInput!]!)
- workflowId (ID!)
- Anchor to eventsevents•[Automation
Test Event Input!]! required The custom test events to create.
Show input fields
- Anchor to workflowIdworkflow•ID!
Id required The ID of the automation to create the test events for.
Was this section helpful?
- testEvents ([AutomationTestEvent!])
- userErrors ([AutomationTestEventsCreateUserError!]!)
- Anchor to testEventstest•[Automation
Events Test Event!] The created test events, in the order they were supplied. Returns null if the test events couldn't be created.
Show fields
- Anchor to userErrorsuser•[Automation
Errors Test Events Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?