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.

Script to map record producer variable directly to a specific field on the case form.

Daniel R2
Kilo Sage

Hi,

 

There is a requirement on our project where we need to map a field from the record producer to a field on the case form.

 

We have created a single line text variable called 'Subject' on a record producer, and whatever the requester inputs in this field, it needs to automatically populate the short description on the case form. 

Can anybody help or provide a readily avaiable script please?

It would be greatly apprecaited for your help and support, thank you in advance!

1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

In your record producer script add:

 

current.short_description=producer.subject;

 

You can also use map field option in variable, to map it to short description automatically.


Raghav
MVP 2023
LinkedIn

View solution in original post

1 REPLY 1

RaghavSh
Mega Patron

In your record producer script add:

 

current.short_description=producer.subject;

 

You can also use map field option in variable, to map it to short description automatically.


Raghav
MVP 2023
LinkedIn