Request Approved' stage is appearing on the stage list of the Requested Item even though RITM is still 'Waiting for Approval'.
This content was last updated in 2022. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 05:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:02 AM
There is known issue:
Description
There's a race condition due to performance improvements we've made in Quebec, which causes. In Quebec, the flow starts executing much quicker (< 2secs) than in Paris (<10secs). An update to waiting_for_approval might not be taken as this is the OOB default for sc_req_item.stage.
Steps to Reproduce
Create a service catalog flow
Add an Ask For Approval
Before the Ask For Approval add a Waiting for Approval stage
Activate the flow
Navigate to Samsung Galaxy S7 Edge: http://localhost:8080/nav_to.do?uri=sc_cat_item.do?sys_id=0c61f0c510247200964f77ffeec6c499
Associate this flow with Samsung Galaxy S7 Edge
Try It
Click on the RITM
Expected: Stage is Waiting for Approval
Occasionally the stage is request_approved
Workaround
1. Adding timer 5 seconds at the beginning of the flow before the flow changes the stage to Waiting for Approval (this replicates the behavior pre-Quebec)
2. Start FlowDesigner Flow from a before business rule to an after business (see attached XML)
Please verify all changes in subprod before moving to production
Ref Link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 07:31 AM
I don't want to see the request approved as a stage in Flow designer itself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 10:38 AM
This is an known issue which is highlighted in the KB article that I have shared.
This is irregular behavior and seen post quebec and happens unexpectedly
One more community article regarding the same issue:
https://community.servicenow.com/community?id=community_question&sys_id=4e1862881bb501101e579979b04bcb7d
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂