The powerful Anko scripting language provides access to internals and golang standard libraries for interacting with Cells engine, but has a complex and non-intuitive syntax.
The environment where the script will be executed is fed with the following variables :
- JsonBody: if action receives a LastOutput with JsonBody, this is decoded from JSON and passed as an interface.
- Vars: contents of the stacked variables passed along the previous actions
- Params: locally defined parameters (in the action form)
- Output: undefined, this is your responsibility to assign something to this variable, as it will be evaluated after the process, and assigned to either JsonBody or a Variable depending on the action setup.
Back to top