Populate Short Description on case level based on Topic details field of type "Select Box"

Community Alums
Not applicable

When i am creating a case via record producer, there is one field "Topic Details " of data type "Select Box" , I want to populate Short description on case level with the value entered in Topic Details.

How can i populate Short description(which is of type String) with the value entered in Topic Details(Which is of type "Select Box").

1 ACCEPTED SOLUTION

Hi,

so you don't want the short description to populate with OOB logic.

then use before insert business rule on Case table and similar script

current.short_description = current.variables.variableName.getDisplayValue(); // give the variable name here

OR you can use after insert BR if the before insert doesn't work

current.short_description = current.variables.variableName.getDisplayValue(); // give the variable name here

current.setWorkflow(false);

current.update();

Regards
Ankur

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

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

Hi Ankur ,

Thanks for your reply , I figured out that script include was stopping that from changing , i made few changes and it worked!!

 

 

Thanks,

Gaurav Tyagi