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.

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

Hi there,

I don't think you can do this with a BR on the requested item. Because theoretically, If you only update a variable, the Requested Item will not be updated. The variable is actually within an other table, sc_item_option.

So I did a quick test. Works here. Though, maybe you do have a little bit different spect. But the steps below could help you have some inspiration.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

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

Hi,

 

use business rule after  insert and update.

find_real_file.pngfind_real_file.png

 

(function executeRule(current, previous /*null when async*/) {

    // Add your code here
current.short_description = current.variables.variablename;
})(current, previous);