We have an event that is activated by a journal trigger on rejected clearance. The trigger and event work fine, but the email does not include the part of the journal message that shows the door name. Is there a way to include the full journal message?
Full Journal Message
Rejected (Clearance) ‘Smith, John’ (12345) at ‘Supply Closet’
Current Email Content -
Object Name: Email - Rejected Clearance Report
Message:
Badge rejection/ deactivation.
Event ‘Email - Rejected Clearance Report’ is pulsed by Journal Trigger ‘Door Clearance Report’ on message ‘CardRejected’ [‘Smith, John’]
1 Like
Hi Peter,
I tried to simulate the same scenario and I can see door name is not included in the message while sending email. If this is an absolute requirement from site, I can check with engineering team for other possible ways to do this. Please let me know.
We have a number of customers that would use this event if we could include the full journal message.
Peter,
Having event context in the “send email” action item is most likely on the roadmap, but there is a workaround. For the event linked to the journal trigger, instead of “send email” as the action item, use “run report”.
I created a journal trigger that activates when someone on the watchlist gets admitted or rejected at any door. I created a journal report with a query assigned that is similar to the query assigned to the journal trigger query, however for the message date/time the filter type is set to “in span from” with a value of “in the past 10 seconds”.
In the event linked to the journal trigger, like I previously stated, the action item of “run report” is used as opposed to “send email”. Select the journal report (In my case the Watchlist activity report from Journal trigger) Select “Export results” and “delete results after the following number of days” Set desired number of days. Click the “export properties” button. Change “send email” to “true”. You can use the “Address to” field to enter email recipients. multiple emails addresses separated by commas, or you can create a personnel group (provided the "people you are emailing have personnel records in the database and the “email address” field is populated to the personnel records) and select the personnel group in the “email group” field.
The end result is people receive an email with a PDF attached showing the door and the person that caused the journal trigger to activate. Because the query assigned to the report is limited to the last 10 seconds and only showing the people and doors specified in the query, the report will only contain the desired information.
2 Likes