Fire Event Action / Notification question

Mike LHCG1
Tera Contributor

I am trying to send a notification that uses a template and an email layout but it is not getting sent.

 

I've read many posts that indicate I should use a notification and the Fire Event Action in my Workflow to trigger the Notification. The Fire Event Action needs the Event Registry Name which I've set, and it has the option for parameters, but I'm not sure what parameters it's looking for. I have also configured a Notification and for the "Send When" field in the "When to Send" tab, I specified "Triggered".  Unfortunately, the notification is not being sent. My question is, how does the Notification know that it's the Fire Event Action in my Workflow that is it's trigger? I see nowhere to tie the two together.

 

I have attached the Event Registration, the Notification, the Fire Event Action step from my Workflow and the Event Template. As I mentioned, I see nowhere I can specify that that the Event fired in my Workflow is tied to the Notification in order to trigger it being sent. Can someone please help with what I've done incorrectly?  Thank you!

6 REPLIES 6

Uncle Rob
Kilo Patron

@Mike LHCG1 wrote:

I am trying to send a notification that uses a template and an email layout but it is not getting sent.

 

I've read many posts that indicate I should use a notification and the Fire Event Action in my Workflow to trigger the Notification. The Fire Event Action needs the Event Registry Name which I've set, and it has the option for parameters, but I'm not sure what parameters it's looking for. I have also configured a Notification and for the "Send When" field in the "When to Send" tab, I specified "Triggered".  Unfortunately, the notification is not being sent. My question is, how does the Notification know that it's the Fire Event Action in my Workflow that is it's trigger? I see nowhere to tie the two together.


If you use TRIGGERED on your Notification.Send_When that you don't need to fire an action.  
Instead of "fire event" in your flow, simply use the Send Notification action.  Then it will let you pick which notification, and it will only select from those set as Triggered.

So I'm guessing since you still thought there was a connection to events, that your notification may have the destination users being determined from parm1 or parm2.  You'll have to adjust that to whomever you want from the task record or fixed users/groups.

@Uncle Rob Thanks for the quick response! My "who to send it to" is set to "Users/Groups in fields" and I selected "Requested For", so I don't believe I need to send that in a parameter. It actually dos go to the right person when its sent. I had it working with Send Notification but I didn't use "triggered". I used when Requested Item was Inserted but I was getting errors when testing the flow. That's when I tried the Fire Event Action. 

 

I tried what you said, but I get no notification sent in my outbox. I have attached the "Send Notification" from my workflow the Email Notification "When to Send screen" and the Test Results from when I tested the Workflow. I don't see an error, but I also don't see that anything was sent. Can you see anything wrong?

Ok, that's interesting.  Flow THINKS the send notification was successful, yet you see no evidence of it being so.  I'd start ruling out the obvious...
- do you actually have a requested for in that RITM?

- does the requested for actually have an email?
- did you test on yourself with "Send to Event Creator" set to false?
- are you on a PDI where email is shut off?

@Uncle Rob 

I do have a "Requested for" in the RITM

It should get sent to me, and I do have an email on our DEV system

I have set the "Send to Event Creator" to false

I am on our Dev system as stated above

The Send Notification is the 2nd step in the flow right after Getting the Catalog Variables which is the 1st step.

What's interesting is that when the RITM is closed, I see the email sent to me that the request closed. This is a different notification and template that all RITMs are sent when closed. It is not sent when triggered but when Record is inserted or updated. I have compared its template and notification to the template and notification I'm trying to get to work and the only thing that looks different is the Send When Triggered vs. Sent when Record Inserted or Updated, and I have no conditions defined and it does.

I have tried both Requested for and Request.Requested for as the "who to send to" but that has no affect

It's got to be something simple I'm overlooking, but I am at a loss.