Workflow - After rejection, need to rollback to created task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2024 11:08 AM
Hi, guys!
In a workflow, there's an approval activity and if it's rejected, the change request go back to previous state (work in progress, in this case). The problem is, when in work in progress state, two tasks are created, and after approval is rejected, those two tasks need to be fulfilled again. What's the best practice in this case, when we had to 'rollback' to a task previous created in a workflow? For example, is it correct to reopen those tasks? If not, what is the best way to achieve this rollback requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2024 04:32 AM
Hi @Onoderav
In a workflow, there's an approval activity and if it's rejected, the change request go back to previous state (work in progress, in this case).
Atul: Good as expected.
The problem is, when in work in progress state, two tasks are created, and after approval is rejected, those two tasks need to be fulfilled again.
What's the best practice in this case, when we had to 'rollback' to a task previous created in a workflow?
Atul: Unfortunate there is nothing called Rollback in Flow , in your case, what we can , clear the Assignment group or Dates and make then mandatory when moving change to Assess state again , in that case it will be fulfilled.
##For example, is it correct to reopen those tasks? If not, what is the best way to achieve this rollback requirement
Atul: Yes, you can reopen task ( only type planning) or create a new task as replica for 1st one.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************