Skip to main content

gameModelSetAutomationEnabled

Enable or disable an automation. Re-enabling also resets its circuit breaker (closed, zero failures, no pause) so a tripped automation resumes. Requires app-admin ('manage_apps').

gameModelSetAutomationEnabled(
appId: BigInt!
name: String!
enabled: Boolean!
): GmAutomation!

Arguments

gameModelSetAutomationEnabled.appId ● BigInt! non-null scalar

The app (tenant) that owns the automation.

gameModelSetAutomationEnabled.name ● String! non-null scalar

The automation name.

gameModelSetAutomationEnabled.enabled ● Boolean! non-null scalar

True to enable (and reset the circuit); false to pause.

Type

GmAutomation object

An autonomous process (automation / NPC): a server-driven entry-point function bound to a trigger (schedule or model activity) plus a safety budget and circuit-breaker state.