FLOW WITH TWO APPROVALS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I have a requirement to create a flow that is triggered by a service catalog that has 2 approvals and sends an email to inform a group that the request is task closed complete.
ny issue is that i am getting an error - as stated - error occured against sc_req item.. something about making sure the all tasks are closed before closing a request. So obivously i am missing a step here. What am i missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @oluseyiasol
Are you trying to do 1 approval then the other? i.e. person A approved, then approval is requested from Person B?
If so, I believe you need to have Else If on your first approval that is Else If approved then step 6 (Same as step 3, but for approved)
Again doing the same on step 10, having else if approved on your second approval.
Hope that makes sense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @oluseyiasol
In a happy flow , generally we update record when approval is approved.
Validate following highlighted part:
Approval:
- Add the first Ask for Approval action targeting the requested item or record, selecting the first user or group.
- Add Flow Logic (If) to check if Approval State is Approved.
- Add a second Ask for Approval action for the second approver/group.
- Add another If logic block to confirm the second approval is Approved before moving forward.
Task Creation and Email Notification
- Add a Create Catalog Task action to generate the task for the fulfillment group.
- Add a Wait for Condition or record check to monitor the task until its State becomes Closed Complete
- Add a Send Email action configured to send your custom message to the target group informing them that the task is closed complete.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Task creation is not listed as one of the requirements for the flow., So now once it goes through he first approval, it seems to skip the 2nd approval and goes to Complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
So there is no requirement to create task for this effort. The 2nd approval will be a group approval. So what is happening now is that after the first approval, it goes straight to closed complete without going to the next approval.