WorkflowRevisionPreview
The publish dry-run of a builder patch against a workflow.
type WorkflowRevisionPreview {
changes: [RevisionChange!]!
affected: [AffectedNode!]!
blocking: [BlockingReason!]!
abTests: [AbTestInFlight!]!
previewToken: String!
requiresDecisions: Boolean!
activeRowsToMigrate: Int!
migratesInBackground: Boolean!
}
Fields
WorkflowRevisionPreview.changes ● [RevisionChange!]! non-null object
WorkflowRevisionPreview.affected ● [AffectedNode!]! non-null object
Removed and reparented steps, plus config-changed steps that contacts are waiting on.
WorkflowRevisionPreview.blocking ● [BlockingReason!]! non-null object
WorkflowRevisionPreview.abTests ● [AbTestInFlight!]! non-null object
WorkflowRevisionPreview.previewToken ● String! non-null scalar
Send back as revision.previewToken on updateBranchingWorkflow, with the SAME patch.
WorkflowRevisionPreview.requiresDecisions ● Boolean! non-null scalar
True when at least one affected step needs a redirect decision.
WorkflowRevisionPreview.activeRowsToMigrate ● Int! non-null scalar
Active contacts on removed steps that the publish will move to another step or exit from the workflow.
WorkflowRevisionPreview.migratesInBackground ● Boolean! non-null scalar
True when activeRowsToMigrate is above the background threshold. The publish then pauses the workflow and moves those contacts in the background, and resumes the workflow when that finishes (unless it was already paused before the publish).
Returned By
previewWorkflowRevision query


