
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 12:35 PM
How do I add RITM number inside of my task description. I know I have to add the code inside of the workflow activity:
task.description = ???
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 01:35 PM
If you are wanting to create a Catalog Task [sc_task] record from a Workflow Activity using the Advanced script options, then you can use the following syntax:
task.description += 'RITM Number: ' + current.number;
Since the workflow is running from the Requested Item [sc_req_item] table, all you need is the number from that current record.
I hope this is helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 12:54 PM
Claudia,
You can create a before insert rule on the task table to add the RITM number to the description.
current.description += ' ' + current.parent.getDisplayValue();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 01:28 PM
It will be in a business rule on the Task table not in the workflow itself.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 01:32 PM
is there a way we can just add it in the workflow activity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 01:38 PM
Try
task.description += ' ' + task.parent.getDisplayValue();
instead of
current.description += ' ' + current.parent.getDisplayValue();