You need to sign in to do that
Don't have an account?
Benedikt
User data available in trigger
I've a trigger fired 'on insert'. If two users are creating the same object: Is this trigger called twice (for each user) ore once with two objects in the trigger.new list?
Background: My trigger should do something, if the current user is a non-portal user. From time to time it doesn't. As I believe, objects created by portal- and non-portal-users at the same time are handled by the same trigger call. Which user is running the trigger in this case?
Background: My trigger should do something, if the current user is a non-portal user. From time to time it doesn't. As I believe, objects created by portal- and non-portal-users at the same time are handled by the same trigger call. Which user is running the trigger in this case?
Swati G
Trigger will run once per user. So in this scenario trigger will run twice once for each user and it will run in different context.
Benedikt
Thank you very much! This helps.