Bring record producer variables into flow designer

Vaishali 11
Tera Guru

Hi,

I have a requirement where on a record producer there are 2 select box fields and when user makes selection on them and submits the form it creates a case. As soon as the case is created the flow designer is triggered where I want to fetch the value of those 2 fields and send them for approval. 

I am unable to fetch those 2 fields data into the flow designer. How can this be done?

 

Thanks in advance!!

1 ACCEPTED SOLUTION

@Vaishali 11 ,

 

Variable type must be reference and reference should be taken from sys_user table. then only you can able to select it.

SarthakKashyap_0-1762513567068.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

View solution in original post

9 REPLIES 9

@Vaishali 11 ,

 

Variable type must be reference and reference should be taken from sys_user table. then only you can able to select it.

SarthakKashyap_0-1762513567068.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

@Vaishali 11 

please share your flow steps screenshots.

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

Sarthak Kashyap
Mega Sage

Hi @Vaishali 11 ,

 

Please check the steps below 

 

Trigger condition is Application > Service Catalog

SarthakKashyap_0-1762511589382.png

 

In Action you have to use Get Catalog Variable 

SarthakKashyap_1-1762511651502.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

Brad Bowman
Kilo Patron
Kilo Patron

You can use a Get Catalog Variables activity.  In my Incident Record Producer I have a flow that is triggered when a record is created.  In this activity I use the trigger record data pill in the Submitted Request field, then my Record Producer Name in the Template Catalog Item field, then I can select the RP variables that I want.

BradBowman_0-1762511387220.png

This will give you a data pill for each variable.  In scripted actions you may also be able to reference variable values without this 'Get' activity by using something like:

return fd_data.trigger.current.variables.var_name

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Vaishali 11 

it should work fine with Get Catalog Variables flow action

share your flow steps screenshots.

💡 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