I have created this playbook to set block here all closing task action until the "validation" by a manager is done.
The blocking action could be moved to a an authorized_action_actionname select (Yes/No/Unknown) field that is checked before running the action, and reset to Unknown after the action.
Please do not use this in production as is, verify, update, amend it on a test/ dev environment
Validation Step by Manager
Purpose of this package:
- Add a mandatory validation step by a Manager.
- While the manager did not validate the step, the Task closure is locked.
Automatic Activation:
- Create task with contain keyword "Validation Step"
- For an automatic deactivation, add a note with contain keyword "Validation Step: Validated" and the task incident closure will be possible again
Manual activation :
- Use the "Validation Step" action button to create a Validation Step task
- A manager user will be assigned to the task, the task will be set as private, and will be place in the current phase.
- The manager needs to update the task field Validation Step to Yes to allow further work on the playbook.
- If a user tries to close another task, the system will prevent the action until the manager validate fields or note in the Validation Step task.
Note: Need a user valid name/email to be added as a validation step - please check/update Script "Validation Step: Add Management as Member" to personalize on your content environment. By default, you will act has the manager
Extract res file command:
resilient-sdk extract --script "Validation Step: Add Management as Member" "Validation Step: Blocking Helper message" "Validation Step: Note Tracking" --workflow "validation_step_add_manager_task" --rule "Validation Step: Set task properties to Confidential" "Validation Step: Block others validations" "Validation Step: Add a Management control" "Validation Step: Note Validation" "Validation Step: Note Tracking" --field "validation_step" --task "validation_step_by_manager" -n config_ValidStep.res --zip
todo:
- use the group Soc Manager from #7 if exist
- Validation step is not = No for manual rule <<== ???
------------------------------
BENOIT ROSTAGNI
------------------------------
Original Message:
Sent: Wed October 20, 2021 02:39 PM
From: Pierre Dufresne
Subject: How to setup an "approval" task in a playbook?
I am wirting a playbook in which there would be a task called "Approve the action".
How can I ask the user to approve or refuse and pass the answer to a decision point where different path would be taken?
thanks
------------------------------
Pierre Dufresne
------------------------------