We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Mapping Record producer field to HR case form field

Not applicable

Hi Team,

On a record producer I have tried to map a Lookup select box with category field on a Hr Service Case form using record producer script.

I have used below script but instead of mapping with the choice already defined, it is creating the new choice in category field. Please help me on this? 

 

Record producer (filed):- tool_provision  (value comes in "u_variable option" table)

HR case form (field) :- u_hr_service_category  (it is a Custom Filed and Value Comes in sys_choice table)

 

Script :-

 

var cat=producer.tool_provision.toString();
current.u_hr_service_category =cat;
 

 

note-Without Field map we need complete this functionality (using record producer script)

 

 
7 REPLIES 7

Not applicable
This video demonstrates: 1. Use of lookup select box 2. how to use dependent value in service catalog? 3. mapping category/subcategory dropdown values in record producer similar to that of the incident table category/subcategory dropdown values.

Not applicable

Hi @Community Alums  

 

without filed map means by using Record producer script we need to complete this functionality

Not applicable

Hi @Community Alums ,

Have you looked at the links i shared? worth checking