You need to sign in to do that
Don't have an account?
Carson Huang
How to trigger when user has been freezed/unfreezed?
Hi,
I'm new to Apex so please bear with me.
Is there a way to call a trigger when a user gets freezed/unfreezed?
Basically, every time someone freezes/unfreezes a user, I want a trigger to be called that'll create a record on the change (this, I already have. I just need to be able to create a record when this change happens).
Thanks in advance!
I'm new to Apex so please bear with me.
Is there a way to call a trigger when a user gets freezed/unfreezed?
Basically, every time someone freezes/unfreezes a user, I want a trigger to be called that'll create a record on the change (this, I already have. I just need to be able to create a record when this change happens).
Thanks in advance!
Thus user record is in no way modified if the user is frozen.
Thus even if you have a trigger on the user object it will not fire at all.
Additionally that object is not available through the application, so you cannot add a trigger on the user login object.
You can reach out to salesforce by raising a case and stating your requirement.
If they are able to suggest you something please share it.
Thanks,
Kaustav