Question

4
Replies
108
Views
Close popover
Aaron Peck (AaronP75)
EY
Certified BPM Architect and Consultant
EY
US
AaronP75 Member since 2013 2 posts
EY
Posted: February 1, 2017
Last activity: February 2, 2017
Closed

Declare Trigger Not Catching Saves of System-User-Recents

Because PRPC does not catch the sign-off time of a user if they do not use the 'log out' button, we have a requirement to capture the time of the user's last action as their 'log out time'.

To do this, I made a declare trigger rule in the System-User-Recents class, and when an instance is saved it should launch an activity that fetches the user record for the recent and update the logoff time to the current time.

However, after checking out and in several rules arbitrarily and generating several entries in the recents table, I see that my trigger is never firing. Can declare triggers not see recents being saved?

***Updated by moderator: Lochan to update Categories***

Case Management System Administration User Experience
Moderation Team has archived post