- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 06:41 AM
I am working on a Service Catalog Item and workflow for a request that will be submitted via the Service Portal. My workflow is running off of the Requested Item (sc_req_item).
Many tasks are being assigned in the Workflow. Some are being assigned back to the person whom the request is for. For some reason, all my tasks generate automated email notifications to the group/person they are assigned to, except for the ones that are assigned back to the requestor.
This is the code I am using in the Task to assign it back to the person it is requested for:
task.assigned_to = current.variables.requested_for;
That part appears to be working just fine, as it is being assigned to the correct person. However, no email notifications are being generated when the task is assigned to this person. As a test, I tested it to see what happens if I set the Task to be assigned to a separate single person, and that worked fine. It just doesn't seem to work when it is being assigned to the requestor (and the requestor DOES have an email address on file).
Here is "When to send" criteria on the "Email assigned to (sc_task)" notification that is being called:
and here is the "Who will receive" information on that notification:
I looked for a Business Rule against sc_task that might be affecting it, and could not find one that looks like would be causing that to happen.
Does anyone have any ideas on why this might be happening, and how to correct it?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 06:47 AM
open the notification definition in advanced view and check if "Send to event creator" is true. if not true then update it as true. That should work.
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 06:47 AM
open the notification definition in advanced view and check if "Send to event creator" is true. if not true then update it as true. That should work.
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 07:01 AM
OK. I see that and it is not checked.
However, if I check it, does that mean that the requestor will get notifications on ALL the tasks that are created, not just the ones assigned to them? I do not want that to happen. I only want them to get email notifications on tasks assigned to them.
If that is the case, then the only other thing I can think of is to create a custom notification to send them after the task gets created to notify them that they have a task to work.
Is that what I need to do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 07:09 AM
notification will be triggered only if the condition given in notification is true.
This check box is used to prevent the notification if the record updated by is same person as of send to user.
for example, assume one notification have condition as comments changes on incident table. the send to is caller.
now if caller itself updating the comments, then he will get his own comment notification. to prevent this, we can make the check box false. then if caller updates the comments then it means he only created the event of comments update. so notification will not be sent to caller. if anyone else updates the comments then caller will receive the notification.
Hope it is clear.
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 07:23 AM
Thank you. I tested it out, and it appears to work well.