Order guide execution issue

Binnie
Tera Contributor

I have an Order Guide that includes two Catalog Items. They both use the same Flow in Flow Designer. When I submit each Catalog Item individually, the Flow runs correctly.

However, when I submit both Catalog Items together through the Order Guide, only one of them triggers the Flow. Why does this happen?

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Binnie 

Practically, this shouldn’t have happened as both are different items. Did you try debugging it to see what might be going wrong?

*************************************************************************************************************
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]

****************************************************************************************************************

 

I tried checking the system log after submitting an Order Guide, and I found the following error:

 

vbnet
ERROR: duplicate key value violates unique constraint "tmp_t517646145k_pkey" Detail: Key (sys_id)=(/*sys_id*/) already exists.

From my understanding, all the RITMs should belong to a single request (e.g., REQ_A). I'm not sure why the system attempted to create another request with the same sys_id as REQ_A.

I’m completely new to ServiceNow, so I may be missing something here.
Could you please help confirm if my understanding is incorrect, or share any suggestions on how to debug this?

Thank you in advance!

Hi @Binnie Yes, as per the order guide behavior, there will be one REQ and multiple RITMs.
You might want to try repairing the Request plugin once. If the issue persists, it’s best to log a Now Support case.

*************************************************************************************************************
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]

****************************************************************************************************************

GlideFather
Tera Patron

Hi @Binnie,

can you share the Flow's trigger conditions please?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */