Invoke Action (gx table invoke)
gx table invoke [-dhqV] [-c[=<YAML config>]] [-H=<host>] [-p=<port>] [-P=<adminPort>] <actionName> <grainKey> <payload>
gx table invoke <action name> <grain key> <payload>
invokes an action handler for the provided action name for a provided grain.
Parameters
1. Action Name
Name of the action to invoke.
Use gx table list
to view all actions in the current app.
2. Grain Key
Key for the grain to invoke.
Currently, all keys will be of type STRING
.
3. Payload
Payload with which to invoke the handler.
Currently, all payloads will be of type STRING
.
Last updated