The CreatorCon Call for Content is officially open! Get started here.

Email Notification Not Sent When Task Assigned to Requestor

jmiskey
Kilo Sage

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:

find_real_file.png

and here is the "Who will receive" information on that notification:

find_real_file.png

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

 

 

1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage
Mega Sage

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

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

6 REPLIES 6

Prateek kumar
Mega Sage

Check this out:

https://community.servicenow.com/community?id=community_blog&sys_id=364e66addbd0dbc01dcaf3231f9619b8


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Thank you!

That is an extremely helpful article in explaining it all.