The Zurich release has arrived! Interested in new features and functionalities? Click here for more

New approval workflow in application vulnerability response

MadihaS
Tera Contributor

On the Application Vulnerable Item (sn_vul_app_vulnerable_item) , I have created a new state "On hold".  when a user clicks the "On Hold" button while the item is in the "Open" or "Under Investigation" state, I want to trigger the following

The state changes to "In review".
An approval process is triggered.
If the item is approved, the state will change to "On hold." If it is rejected, the state will revert to its previous status ("Open" or "Under Investigation").

 

What is the best method to achieve the above? 

2 REPLIES 2

nik_au
Tera Contributor

Personally I would try to avoid creating a new state. Personally would try push more of a "On hold" Flag in the same way that Change records do. Less down stream impact, still can be reported on.

Najmuddin Mohd
Mega Sage

Hi @MadihaS ,

The approach would be,
1. In the UI Action, change the state to 'In review' on clicking "On hold".

2. Now, Create a flow, with the trigger conditions. state changes to "In review".
3. Set flow variables to have a backup of it's present state, which could be used in future if the Approval is rejected.
4. Now, Ask for Approval.
5. If Approved, change the state to "On Hold".
6. If Rejected, change the state to previous state, taking the data pill ( Set flow variable - step 3).

If the above information helps you, Kindly mark it as Helpful and Accept the solution.

Regards,
Najmuddin.