Task Short Description same as RITM Short Description

Burhan Shah
Tera Contributor

Hello Community,

 

How can we set a RITM variable description automatically to task short description? They are currently different and I want to set them the same. RITM & Task Description should be the same.

 

I have attached a picture for your reference.

1 ACCEPTED SOLUTION

palanikumar
Giga Sage

Hi,

You have two options:

1) In flow, you can set the short description of task with the short description variable while creating he catalog task

2) Create BR on Catalog task. and use the below code to set short description

current.short_description = current.parent.variables.short_description

 

Thank you,

Palani

Thank you,
Palani

View solution in original post

6 REPLIES 6

Service_RNow
Mega Sage

HI @Burhan Shah 

In the workflow at the catalog task activity.

Advanced section:

task.short_description = current.short_description;

Should do the trick for you


Please mark my response as correct and helpful if it helped solved your question.

palanikumar
Giga Sage

Hi,

You have two options:

1) In flow, you can set the short description of task with the short description variable while creating he catalog task

2) Create BR on Catalog task. and use the below code to set short description

current.short_description = current.parent.variables.short_description

 

Thank you,

Palani

Thank you,
Palani

@palanikumar Thank you so much it worked.

dgarad
Giga Sage

Hi @Burhan Shah 

Refer the below link

https://www.servicenow.com/community/developer-forum/automatically-update-short-description-in-ritm-...

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad