FLOW WITH TWO APPROVALS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours 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 hours 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
3 hours 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
49m ago
Hello @oluseyiasol ,
can you share the screenshot of error,
Also as stated in error "making sure the all tasks are closed before closing a request", so are there any sc_task created with ritm plz check, IF yes then close it...
If my response helped mark as helpful and accept the solution.