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

Not able to get dynamic choices values in flow designer

SNOWTechie
Tera Contributor

We have one field on record producer, and we are adding some choices/values in that with the help of catalog client script, so whenever use click on the field, he is getting 5 choices to select. Now we have to get that value or choice what was selected by user in flow designer and set in category field of Finance Case. We have used get catalog variables and set flow variables and update Finance Case record, but when we are going to use that set flow variables in update finance record then it is not working. As whatever variable we used in set flow variables it shows empty value, so we are not able to set category in Finance Case.
We have to use flow only, no record producer script

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@SNOWTechie 

share screenshots.

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

Ankur Bawiskar
Tera Patron

@SNOWTechie 

your dynamic choice population is client side logic for users during submission.

Why you want that in flow?

It won't happen in flow as it's server side component.

You can handle the dynamic logic using inline script and then set the category using f(x)

AnkurBawiskar_0-1771427511108.png

 

💡 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

@SNOWTechie 

Hope you are doing good.

Did my reply answer your question?

💡 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

Dinesh Chilaka
Tera Guru

Hi @SNOWTechie ,Make sure your choice values (backend names ) of the record producer and the Category Field values must be same .

I think you can simply set the category from the record producer script right ,

current.fieldName=producer.variableName;

If my response helped, mark it as helpful and accept the solution.