- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2022 11:05 PM
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").
Solved! Go to Solution.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2022 11:54 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2022 09:53 AM
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