I have created a WF that is adding a task, and using the timer, after 15 minutes, running the Task helper app "Close Task" Functions to close the task named "Change device/application passwords"
Pre process:
post process:
When I run this WF, the task is created at 18:56 UTC:
after 15 minutes the task is closed
and the note is written showing the task is closed by the automation:
------------------------------
BENOIT ROSTAGNI
------------------------------
Original Message:
Sent: Mon September 20, 2021 07:31 AM
From: M Ramadan
Subject: How to automatically mark a task as completed ?
Hi BENOIT
Could send us steps with screenshot for B solution.
Thanks
------------------------------
M Ramadan
Original Message:
Sent: Thu September 16, 2021 10:42 AM
From: BENOIT ROSTAGNI
Subject: How to automatically mark a task as completed ?
It depends on who and where is the action is launched.
A) The playbook is started because the Task is presented:
- Task "Automated Task" is added to the task list by a playbook
- a rule is fired (task created, task name = "Automated Task") and lauch a automation playbook (workflow action A + B + C ....)
- because we started from the task, at the end of the playbook, a simple script changing the value of task.status = "C"
will do the job:
B) if the playbook is an action launched by another level in the tree (incident top level of artifact level) than we could use the Task Utils App and close task feature;
- Task "Automated Task" is added to the task list by a playbook
- after some time, an action is run (by automation or by a menu item) for example at top action level or artifact level
- because we have no idea of the task ID of the task to be closed, we will use the IBM SOAR Task Helper Functions and call the Close Task workflow to close the task by its name when it needs to be shown closed in the automation process.
------------------------------
BENOIT ROSTAGNI
Original Message:
Sent: Thu September 16, 2021 10:23 AM
From: Asad Aftab
Subject: How to automatically mark a task as completed ?
Hello everyone.
I want to ask that how to automatically mark a task as completed as the incident progresses.
------------------------------
Asad Aftab
------------------------------