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

8 REPLIES 8

Dr Atul G- LNG
Tera Patron

Hi @sattar3 

It is straightforward, and yes, you can create a generic flow. Even in the client, we already have a generic flow. You can take reference from the OOTB flow, build your own, and set the stages accordingly.

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

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

AndersBGS
Tera Patron

Hi @sattar3 ,

 

Please see my article where I describe how to have a flow designer flow for multiple catalog items: https://www.servicenow.com/community/workflow-automation-articles/one-workflow-for-multiple-catalog-...

 

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/

Thanks for your reply @Dr Atul G- LNG @AndersBGS .

 

I built a generic flow intended to update the Stage when the State of an RITM changes. However, the Stage is not updating during normal operation. When I click Test in the flow and run it against a specific RITM number, the Stage updates as expected.

Could you please review the below screenshots and let me know if there’s anything wrong with the flow configuration or trigger conditions?

sattar3_1-1768389924814.png

Update Record option is not working in our client instance because of that i used Update Multiple RITM Action

sattar3_0-1768389872187.png

 

sattar3_2-1768390004522.png

sattar3_3-1768390124310.png

 

Overall flow steps be like in the below:

sattar3_4-1768390475962.png

@Ankur Bawiskar can you help here?

 

Thanks,

Sattar

Hi @sattar3 

The flow looks good and should save effort. If it’s not updating immediately, it might take some time for the stage/status to refresh. Are you referring to the correct field on the RITM form?

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

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