Queries
ruleDryRun
Runs an unsaved Action through the real rules engine against real records and reports what happened. Commits nothing and writes no execution log.
QUERY
ruleDryRun(changes: JSONString, draft: RuleDryRunInput!, entityIds: [Int]!): RuleDryRunArguments
changes
JSONString
draft
required
entityIds
[Int]!
required
Returns
contextQuery
String
The rebuilt query that ran, which is not the draft's own string.
errorState
String
block | warn, from the raised exception.
evaluatedIds
[Int]
message
String
observedContext
JSONString
The context the Action's code actually received. Empty means the record was filtered out of the Action's own context query, so the Action is inert.
outcome
String
passed | blocked | warned | errored. 'errored' means the Action could not be run — it is not a violation.
raised
Boolean
Did the Action's code raise?
saveError
String
saveValid
Boolean
Would this draft survive CreateRule?
Query
Variables
Response