Machine instances

Machine instance operations.

Machine instances are instances of a machine definition.

If you have a machine definition that controls a user onboarding flow, you would want a machine instance for each user.

If you have a machine definition that controls access to a collaborative document, you would want a machine instance for each document.

Machine instances have names that are unique within a machine definition.

You can send events to machine instances to trigger transitions and can read the state of an instance.

Consistency guarantees

Processing for a machine instance is coordinated such that there is a single, linearizable history of events and state transitions.

Limits

Machine context (represented as JSON) may not exceed 400kb.