Update the short description on SCTASK

mallikabhupathi
Tera Expert

All, 

 

I have a requirement to update the SCTASK short description.

 

I have a field called "Request Type" which has three dropdown options to choose from - 1. Request new vendor 2. Modify existing Vendor 3. Terminate existing vendor.

When any one is selected, the short description should be "Vendor Remote Access: New/Modify/Terminate" for (Vendor name). 

 

This is working fine. However, the option "Modify existing vendor" has multiple checkboxes. 

When Modify is selected, I need to get the short description as Vendor Remote Access: [Modify -Type of Modification(s)] for Vendor. 

How can this be achieved?

 

Thanks,

Mallika

 

5 REPLIES 5

Pradeep Thipani
Mega Sage

Hi @mallikabhupathi 

 

 

You can achieve by updating the short description in workflow create catalog task by calling the variables.

 

Example:  task.short_description = 'Vendor Remote Access: '+"-"+current.variables.(backend value of Request Type) + "-"+current.variables.(backend value of checkbox).getDisplayValue();

 

Please give me a like if my solution is helpful.

 

Thanks,

Pradeep

"If this response was useful, please select 'Accept as Solution' and mark it as 'Helpful.' This helps me provide better answers and assists the community ".

Regards,
Pradeep

Hi @Pradeep Thipani ,

 

The issue is when "Modify" is not selected, then the backend value shows up as undefined.

James Chun
Kilo Patron

Hi @mallikabhupathi,

 

Are you using a workflow or flow to create the SCTASKs?

 

Cheers

Hi @James Chun ,

 

I am using a workflow.