- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2015 11:45 PM
Hello Folks,
I have a requirement to send a notification to the respective assigned groups when the assigned group variable is filled in service catalog,
How to get the variable value in the notification recipient field so that the notification can be sent to particular group selected in the service catalog.
I tried writing a business rule but it didn't work. I appreciate your help.
Thanks and Regards,
Md Zabeeulla.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2015 12:18 AM
Through BR you can get the value of Assignment group in catalog.
Write a BR in sc_cat _item.
var grp = current.variable_pool.assignment group name in catalog.
Now according to your requirement populate the assignment group of request or request item with the value of grp.
if request: Gliderecord request and update it.
if request item current.assignment_group = grp;
In notification you can use the assignment group field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2015 11:54 PM
In workflow you can get the variable value by using "current.variable_pool.variablename" and try to send the notification through workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2015 12:13 AM
I tried doing this but it doesn't work. I wrote the script suggested by you in the script column of notification and tried .
Thanks,
Zabeeulla.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2015 11:58 PM
Do you need to send the notification when that Variable is filled, or when the Request is submitted and the RITM and Tasks get created?
IMO, sending the notification on populating the Variable is a bad idea as before submitting the Group name can be changed.
Still, if you want to do this, you will need to write a OnChange Client Script that will trigger a Server Call to trigger an Event to finally trigger the Email Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2015 12:10 AM
In my scenario the groupname in the requested item is readonly so there is no question of changing the group name before submitting.