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

How to populate Short Description of Record Producer to Short Description of security Incident ?

Hritik
Tera Expert

Hello Community,

 

I have a simple query which I am not able to deal with.

 

My requirement is to populate the Short Description of Record Producer (which is created on table Security Incident) to Short Description of Security Incident. 

 

I wrote the below line of code (line no 1):

Hritik_0-1700470535645.png

 

 

Still it is not working 😞 

Please help me out here.

 

Thanks in Advance,

Hritik.

1 ACCEPTED SOLUTION

Hii @Hritik If you know the short description of the producer then you can store this value in variable as a static eg var abc = 'xyz';

then you can use the current.short_description = abc;

//Use code in record producer script.

 

View solution in original post

10 REPLIES 10

This is the long way to get there. How about just:

current.short_description = cat_item.short_description;