Update the short description on SCTASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 07:01 PM
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
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 09:29 PM
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
Regards,
Pradeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 12:22 PM
Hi @Pradeep Thipani ,
The issue is when "Modify" is not selected, then the backend value shows up as undefined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 10:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 08:41 AM