Best Practices for Creating a Generic Flow for Catalog Items

sattar3
Tera Contributor

Hello Everybody,

 

We have a requirement to create a generic flow for catalog items that can be reused for multiple catalog items in the future. Based on the RITM state, we need to set the corresponding stage.

Please suggest the best practices for implementing this and let us know if there are any potential drawbacks after publishing this subflow/flow.

Mapping of State to Stage:

  • OpenOrder Under Review
  • Work in Progress (WIP)Fulfillment
  • Pending ApprovalWaiting for Approval
  • FulfilledDelivery
  • ClosedClosed Complete

 

Thanks,

Sattar

11 REPLIES 11

Hi @Dr Atul G- LNG yes happening the same.

 

The stage changes only after the page is refreshed, rather than updating immediately when the RITM form is updated.

 

Could you please confirm if this behavior is expected?

Additionally, please review the flow trigger conditions and the stage settings shown in the attached screenshots. Your assistance in resolving this to achieve immediate stage updates would be greatly appreciated.

 

We can't directly write the flow on Requested Item table, because of that i used like below.

 

sattar3_2-1768976079042.png

Flow Steps Screenshot:

sattar3_3-1768976166047.png

 

@AndersBGS  @mugi-san @Brad Bowman  @Ankur Bawiskar 

 

Thanks,

Sattar

 

 

@sattar3 

Would you mind closing your earlier questions by marking appropriate response as correct?

Members have invested their time and efforts in helping you.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I think this is unexpected behavior, mate.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

Hi @sattar3 

 

Why are you utilizing the "get catalog item variables"? By doing this, you are assigning the flow to specific catalog item instead of having a generic flow for several catalog items?

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Ankur Bawiskar
Tera Patron

@sattar3 

I will recommend individual flows for your items rather than combining.

If some requirement changes in future for any of those items you will have to maintain that single flow and make changes to it.

Then you will have to test it for your items along with the other items where requirement was not changed.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader