function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scott0987Scott0987 

run trigger on user logout

I would like to run a trigger when a user logs out of Salesforce.   Is there a way to change salesforce's logout behavior?  I know that I could create a button that could do anything I want but I would like to have the session timeout be able to log the user out and have the trigger run at that point also. 

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

There's no way to accomplish this task at this time.

All Answers

sfdcfoxsfdcfox

There's no way to accomplish this task at this time.

This was selected as the best answer
Scott0987Scott0987

is it possible to override the Session Timeout popup window and run it to a different visualforce page?  

Jake GmerekJake Gmerek

Not that I have ever heard of.