GmAutomationTrigger
An event subscription that fires an automation in reaction to model activity (matched in the API server, not the DB).
type GmAutomationTrigger {
triggerId: String!
appId: BigInt!
automationId: String!
onEvent: String!
functionName: String
containerTypeName: String
propertyKey: String
debounceMs: Int!
}
Fields
GmAutomationTrigger.triggerId ● String! non-null scalar
Unique trigger id (UUID).
GmAutomationTrigger.appId ● BigInt! non-null scalar
The app (tenant).
GmAutomationTrigger.automationId ● String! non-null scalar
The automation this trigger fires.
GmAutomationTrigger.onEvent ● String! non-null scalar
The model event: function_invoked | property_changed | container_created.
GmAutomationTrigger.functionName ● String scalar
Filter: only this function name.
GmAutomationTrigger.containerTypeName ● String scalar
Filter: only this container type.
GmAutomationTrigger.propertyKey ● String scalar
Filter: only this property key.
GmAutomationTrigger.debounceMs ● Int! non-null scalar
Debounce/coalesce window in ms.
Returned By
gameModelAutomationTriggers query ● gameModelUpsertAutomationTrigger mutation