Pulling Catalog Task values from Request Items in Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2011 09:34 AM
Hi Everyone,
I am trying to create a workflow notification for a Service Request. In the workflow for the Request Items table I create a Catalog Task. The Catalog Task is has an assignee and assignment group field that is different from the Request Item.
How would I script the notification so that:
1. It sends the notification to the assignee and assignment group of the task, not the request item
2. It includes the values of the assignee and assignment group of the task within the request item body?
I have tried a couple of things to add them to the body.
8. Assignment Group: ${sc_task.assignment_group}
8. Assignment Group: ${task.assignment_group}
I tried in a mailscript
template.print("8. Assignment Group: " + sc_task.assignment_group.getDisplayValue() + '\n');
And a couple of different variations there of. Am I on the right track or am I way off base?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2011 11:47 AM
Thanks, I used Brad's suggestion and it worked
The original reason why the sc_task notifications were not going out is because I had a condition in the business rule that was preventing the events from being captured.