Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Mapping Record producer field to HR case form field

Community Alums
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

Community Alums
Not applicable

Hi @Community Alums  

 

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

Community Alums
Not applicable

Hi @Community Alums ,

Have you looked at the links i shared? worth checking