how to update the short description of RITM

MMKK
Tera Expert

Hi My need is ,

 

My short description of RITM and my automated created task is combination of Requested for - a variable value.

 

But when the variable value gets updated from task or from requested item, i would like to see the change in short description of RITM and the task. How to do this . Stuck up please help

6 REPLIES 6

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,


You can achieve this using Business rule.

 

Thanks,
Ashutosh

Mark Roethof
Tera Patron
Tera Patron

Hi there,

How are you setting the short description? Thru workflow script for example? Out-of-the-box without scripting it is the Catalog Item name I believe.

Do you want the short description updated for all Requested Items? Or only certain Requested Items?

You could write a Business rule, which on update, updates the short description of the Requested Item.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

MMKK
Tera Expert

Hi Mark,

 

I wanted the short description to be updated based on variable in teh catalog item. If variable changes, catalog item short description should be changed

 

Hi there,

 

You may refer the below code snippet and modify as per your requirement.

var shortDesc= current.variables.variable_name.getDisplayValue(); //pass the variable name here
task.short_description = "Short description is populated dynamically: " + shortDesc;

 

Hope this helps. Please mark the answer Correct/Helpful based on the impact.

Regards,

Amlan