Transaction Action of GS2-StateMachine

ConsumeAction

AcquireAction

Gs2StateMachine:StartStateMachineByUserId

Start state machine by specifying user ID

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
argsstringArguments to be passed to the state machine
ttlintValidity period (minutes)
{
    "action": "Gs2StateMachine:StartStateMachineByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "args": "[string]Arguments to be passed to the state machine",
        "ttl": "[int]Validity period (minutes)"
    }
}
action: Gs2StateMachine:StartStateMachineByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  args: "[string]Arguments to be passed to the state machine"
  ttl: "[int]Validity period (minutes)"