Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Request Approved' stage is appearing on the stage list of the Requested Item even though RITM is still 'Waiting for Approval'.

venkata aparna
Tera Contributor

find_real_file.png

3 REPLIES 3

Aman Kumar S
Kilo Patron

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:

Waiting For Approval stage is not set by flow intermittently for Service Catalog flow and stage rema...

Best Regards
Aman Kumar

venkata aparna
Tera Contributor

I don't want to see the request approved as a stage in Flow designer itself

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 🙂

Best Regards
Aman Kumar