- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2018 03:24 PM
Hello,
I've done searches regarding this topic and it appears that this shouldn't be something that is as hard as it's been for me. I have a situation where I want the Short Description for the Task (TASK) ticket that's created to use the Short Description of the Requested Item (RITM). I've tried the following in the Catalog Task workflow script section:
1) task.short_description = current.short_description;
2) if(current.cat_item.u_task_short_description){
task.short_description = current.cat_item.u_task_short_description; }
3) sc_task.short_description = current.variables.user.short_description
4) sc_task.short_description = current.variables.short_description
5) sc_task.short_description = current.short_description
When I try to use any of these, I always end up with a TASK that has the generic "Please deploy item to the user" short description and, when viewed, has the message "Hiding Empty Variables" message on top. There are possibly two issues that I can think may be causing issues:
1) The Short Description field is a required field and is somehow affecting the script from changing it.
2) The field that i'm trying to grab is used by a portal page to populate the information. When looking at the history information in the RITM ticket, it shows the following: VARIABLE:short_description: TEST SHORT DESCRIPTION. Looking at the dictionary information shows sc_task.short_description, Table: task, Field: short_description
I'm sure i'm making a simple mistake somewhere and just need some assistance in pointing it out to me.
Thank you for the help.
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2018 12:01 PM
Do you have any business rule, which could be overriding the short description?
Can you hard code the short description as
task.short_description = 'This is a test';
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2018 05:17 PM
task.short_description = current.short_description; should work fine.
Can you post a screenshot of your RITM highlighting the field you want to be copied to the task short desc?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2018 10:51 AM
Thank you for replying.
Here is the screenshot of the RITM short description dictionary information:
Here's a screenshot of the task that's generated from this request and it's short description dictionary information.
Thank you for the help.
Henry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2018 12:01 PM
Do you have any business rule, which could be overriding the short description?
Can you hard code the short description as
task.short_description = 'This is a test';
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2019 05:59 PM
Thanks, just got back from Knowledge 19 in Vegas. Haven't had time to look at the solution suggested yet. Will reply after checking it out and provide feedback.