Skip to main content

ScheduledAutomation

An automation waiting to resume for an order or a related fulfillment.

type ScheduledAutomation {
automationRuleId: ID!
automationRuleName: String!
event: String!
executionId: ID!
fulfillmentId: ID
fulfillmentNumber: String
orderId: ID!
remainingActions: [ScheduledAutomationAction!]!
resumeAfter: ISO8601DateTime!
ruleConditions: JSON
}

Fields​

ScheduledAutomation.automationRuleId ● ID! non-null scalar common​

The automation rule identifier.

ScheduledAutomation.automationRuleName ● String! non-null scalar common​

The rule name saved when this execution first paused.

ScheduledAutomation.event ● String! non-null scalar common​

The event key that triggered this execution.

ScheduledAutomation.executionId ● ID! non-null scalar common​

The waiting execution identifier.

ScheduledAutomation.fulfillmentId ● ID scalar common​

The triggering fulfillment, when the event identifies one.

ScheduledAutomation.fulfillmentNumber ● String scalar common​

The triggering fulfillment number, when available.

ScheduledAutomation.orderId ● ID! non-null scalar common​

The order associated with this execution.

ScheduledAutomation.remainingActions ● [ScheduledAutomationAction!]! non-null object automations​

Remaining actions in execution order, including later waits. Conditions may skip them.

ScheduledAutomation.resumeAfter ● ISO8601DateTime! non-null scalar common​

Earliest resume time. Execution may be later; actions still check conditions.

ScheduledAutomation.ruleConditions ● JSON scalar common​

Saved rule conditions checked before the execution started. These are not checked again on resumption.

Member Of​

V2Order object