Smart Processes Management
Iterable executor for Runnerty:
Through NPM
npm i @runnerty/executor-iterable
You can also add modules to your project with runnerty-cli
npx runnerty-cli add @runnerty/executor-iterable
This command installs the module in your project, adds example configuration in your config.json
and creates an example plan of use.
If you have installed runnerty-cli globally you can include the module with this command:
rty add @runnerty/executor-iterable
Add in config.json:
{
"id": "iterable_default",
"type": "@runnerty-executor-iterable"
}
Add in plan.json:
- Object
{
"id": "iterable_default",
"objects": [
{ "key1": "val1", "key2": "val2" },
{ "key1": "val1_1", "key2": "val2_2" },
{ "key1": "val1_2", "key2": "val2_3" }
]
}
- String
{
"id": "iterable_default",
"objects": "@GV(VAR_JSON_STRINGIFY)"
}
- JSON File
{
"id": "iterable_default",
"jsonFile": "sample.json"
}