You need to sign in to do that
Don't have an account?

Trigger On UserRole
Hello Board,
Can we write Trigger on UserRole object?
Thanks,
Devendra
You need to sign in to do that
Don't have an account?
Hello Board,
Can we write Trigger on UserRole object?
Thanks,
Devendra
Hi,
I don’t think you can write a trigger on user role object but you can make SOQL query on this object.
For more details please go through the link below:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_role.htm#topic-title
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
We are creating an additional custom object X to hold additional details for UserRoles. We need a trigger on the UserRole object to add/update/delete a record on X, each time and add/update/delete happens on the UserRoles object.
Please can you assist with any details on how to do this?
Thanks,
Naz
Only workaround I can offer is to run a scheduler to check if a change was made on it.