Mapping variable set variables from record producer

Prathamesh Chav
Tera Contributor

I am having variable set like this, and now I want to map that variables set field values with custome field on HR case table, for e.g. custome field name is days of the week. 

below is the screenshot of variable set.

 

 

1 ACCEPTED SOLUTION

@Prathamesh Chav 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

10 REPLIES 10

can you share the screenshot

Ankur Bawiskar
Tera Patron
Tera Patron

@Prathamesh Chav 

it's a MRVS

So you can use record producer script and get the MRVS value like this; it contains json so you need to do parsing

var jsonString = producer.mrvsVariableSetName;

// then parse the json

What script did you start with and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Prathamesh Chav 

this link has solution; you enhance it

Inserting data from a Multi-row variable set on a Record Producer into a Description field 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Prathamesh Chav 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Prathamesh Chav 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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