We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

AndersBGS
Tera Patron

Have you ever wondered how to ensure governance in relation to workflows created in flow designer? Have you ever wondered how to ensure that unique simple flows don’t explode which will be unbearable to maintain in the long run?

 

Then look no further – here is an approach to create a flow to be utilized across multiple catalog item for simple mere generic flows.

 

Why doesn’t it work OOTB?

When using the action “Get catalog variables”, you are binding the single workflow together with the sc_cat_item itself, hence, if you would like to use it with multiple catalog items, it will simply not work, as you can't map one flow to several items.

 

AndersBGS_0-1766993837658.png

 

A solution to overcome this obstacle is to not use the action “get catalog variables”, but instead script the inputs to get the variables e.g.:

 

AndersBGS_1-1766993837661.png

 

This simple code will give you the requester from the catalogue item based on the variable within the single catalogue item. So, if you ensure to be consistent e.g. by utilizing variable sets as a defined standard, you will be able to get the requester from multiple catalogue items utilizing same workflow, the variable name just need to be the same. The script itself can be as simple or as complex as you would like, but the main idea is the same.

 

Above is quite simple but extremely useful across an organization for many different but simple catalog items.

Comments
Sourya21
Tera Explorer

Thanks AndersBGS, this is really helpful. 

If anyone would like to explore the same solution in more detail, you can also refer to the link below. It covers everything explained here, along with some additional details that may be useful. I found both this solution and the one below very helpful.


https://www.servicenow.com/community/itsm-articles/using-workflow-studio-flow-designer-flows-for-mul...

Version history
Last update:
‎12-28-2025 11:42 PM
Updated by:
Contributors