Notification emails (created, approved, rejected) for approval requests in scoped application

Armin Heinlein1
Giga Expert

In a scoped application (not Service Catalog) I have a workflow that creates an approval for the manager to approve a job description. The creation of the approval (rejection/approvals) is working fine. But I do not see any emails that an approval request was created, approved or rejected. Shouldn't an event be triggered a approval request is generated? What am I missing?

find_real_file.png

1 ACCEPTED SOLUTION

I figured it out and it works now.



When the approval is created by the workflow it creates an event called: "x_conym_hr_jd.approval.inserted" in the event log.



find_real_file.png


In order to be able to run the notification by event I created the event in my scoped application (with Studio) and it gave me "x_conym_hr."  



find_real_file.png    


Big difference "_" vs. "."
I actually had to register the event in the Global application because Studio in the scoped application would not let me create the event properly it with a "_".


View solution in original post

15 REPLIES 15

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Armin,



You may find the below thread helpful.


Emails not going out for approvals


SanjivMeher
Kilo Patron
Kilo Patron

Hi Armin,



Is your scoped app extended from task table. check the email log, and event log, if there is any log generated to send notifications.



Check if below business rule is executing for your scoped app


Approval Events (Non-Task)



Please mark this response as correct or helpful if it assisted you with your question.

No I did not extend Task. I see the event and created a notification but still no email



find_real_file.png



find_real_file.png


Under who will receive tab in an email notification. Can you please make sure send to event creator, param fields are checked to true?