Tasks are scripts with a defined Target and review workflow. You need to create Targets before you can run Tasks.
Targets define where scripts will run and using what credentials.
An optional message gives an overview of the task functionalities and motivations. It will help the reviewer to understand and speed up the review workflow, besides being a great documentation resource.
Status tells where a Task is in it's lifecycle.
|created||The initial state of a task. Every task starts in the created state.|
|reviewing||When the review workflow starts the task goes to the reviewing state.|
|approved||After the review workflow, if the task got all the required approvals, it goes to the approved state.|
|rejected||if one of the s rejects the task it goes to the rejected state. You need to incorporate the feedback left by the reviewer in Slack or other channel and create a new task.|
|running||After approval, you will can Run a task, after the |
|success||When task finishes running, it goes to the end state: success. After the task is finished, you can Get logs from a task|
|failed||When task finishes running with a error, it goes to the failed state. You can Get logs from a task to understand what went wrong|