File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# executor-lua
22Script Task Executor Engine with LUA Runtime
33
4- This docker image provides a sandboxed protected environment to run custom LUA scripts that are written in ProcessMaker BPM .
4+ This docker image provides a sandboxed protected environment to run custom LUA scripts that are written in ProcessMaker Spark .
55User created script tasks should be isolated however have utilities available to them in order to get most common tasks done. This
66LUA environment has modules available so Script Tasks can take advantage of the following libraries:
77
@@ -20,7 +20,7 @@ When writing a Script Task, three global variables are available. They are:
2020
2121- data - A record that represents the data loaded from data.json
2222- config - A record that represents the config loaded from config.json
23- - client - The ProcessMaker 4 LUA SDK Client preconfigured to access the API via OAuth authentication
23+ - client - The ProcessMaker Spark LUA SDK Client preconfigured to access the API via OAuth authentication
2424
2525Your script should execute quickly. Once the script is complete, your return statement will be used and converted to JSON which
2626will be stored in the output.json file. Once the docker execution is complete, you should the return code of the docker execution.
You can’t perform that action at this time.
0 commit comments