We ❤️ automation
Task, List, Execution plan been described bellow as the basis of the
Task is the smalleste element of the execution plan. Task can be created or edited in a task editor
Name is not unique in the application but people will search by name. All names should be lowercase as people Prefer to set the name like instagram - and what this task do
The code is javascript, if you return any variable it can be used in the subsequent tasks (see Return) You can use the
await app[‘api’].saveData(“here comes the unique identifier” , data); data has to be a json!
var data = await app[‘api’].getData(“the unique identifier”); data will be a json
goto -> when the Return is goto than it will jump to the sequence what have been returned in the script console.log() -> will appear in the console of the application as well in https://v3.done24bot.com/console
when you set the return than in the subsequent task you can refer it by app[and here the return string]
like the return is label1 and in the script you have “return 1” in the subsequent tasks you can reger to this value in app[‘label1’] what will be 1
It is having also a default parameter. When you save and run a task it will pick up the default parameter. The parameter value to be a json object
Task parameter is accessible from: app[‘args’] The execution level parameters are accessible from: app[‘argsExec’]
You have to create at least one public parameter to able to create parameters by other users!
You can organise the Tasks into lists When you set the order of the Tasks than you can set which parameter you want to run this specific task in the list. You also can test the Lists. A list does not have any specific parameter.
An execution plan can have parameters, these parameters are only visible to the specific user.