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

Set catalog item variable manually

joshmorris
Tera Guru

We are transitioning our catalog items from using workflows to flows and in the workflow there was a script that set some of the variables manually via script. I need the same functionality in flow designer. I have the variables as data pills but wondering how I can give them a value?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@joshmorris 

you can create a reusable flow action for this which can be used across any catalog item

check this link and it has approach

Set Value of a Catalog Variable at Flow Designer 

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

GlideFather
Tera Patron

HI @joshmorris,

 

is it set by a workflow or manually?

 

Also, could you possibly add more details about what you want to achieve? Do you want to add what value to what field - different approach is for a string, different for a choice or reference...

_____
100 % GlideFather experience and 0 % generative AI

joshmorris_0-1771410972348.png

So before it was set in the workflow as highlighted below. But I want it to be set using flow designer as we are migrating them across. I want the ship to name to be set to the user that ordered, contact number from the user profile and same with email

@joshmorris you can either do it by a script (flow variable) or by the data pills

_____
100 % GlideFather experience and 0 % generative AI

How do I do it via the data pills as I have the variables here

joshmorris_0-1771411501313.png