Approvals Workflow - Trigger for a second time after reject

Jamsta1912
Tera Guru

Hello all,

We have an approvals workflow running on a custom table that extends the task table. The workflow is triggered when a boolean field on a record is set TRUE. If rejected, the value of that field get set back to FALSE and the workflow ends. We would like another instance of that same workflow to be triggered on the same record once that field has been set back to TRUE, generating new approvals tasks etc. However, when the field is set back to TRUE, a new workflow is currently not being triggered.

Is there a standard / best practice way of achieving what we're trying to do? Note: we do not need to reset the existing worfklow and do not want to cancel or delete the existing approval tasks. Is it perhaps better to NOT have the workflow finish on reject, but instead have it loop back to await the trigger field being set to TRUE again, and then pass back through the approvals step?

Thank you

2 REPLIES 2

Kalaiarasan Pus
Giga Sage

It seems like you could make use of workflow rollback activity. See if the below link helps.

 

https://hi.service-now.com/kb_view.do?sys_kb_id=e25c6a4087fc6100491683bdff434d0e&id=kb_article_view&...

Jamsta1912
Tera Guru

Thank you iamkalai. A rollback did not quite suit my requirement but in the end I just added a loop in the workflow and an activity to wait for the trigger field to be set back to TRUE. This updates the existing approval tasks, rather than create new ones, but I think this is good enough as we still retain an audit trail.