You need to sign in to do that
Don't have an account?
Mike 317
New to APEX, need to change case ownership
Hey All,
I need a way to allow a user to reassign a case when they are creating it.
I created a picklist with user aliases. I'd like to be able to choose a value on that picklist and have APEX change the owner after the record is created. Can that be done? I know I can't do it with a workflow, so I'm stuck. Any help would be appreciated. Thanks!
-Mike
I need a way to allow a user to reassign a case when they are creating it.
I created a picklist with user aliases. I'd like to be able to choose a value on that picklist and have APEX change the owner after the record is created. Can that be done? I know I can't do it with a workflow, so I'm stuck. Any help would be appreciated. Thanks!
-Mike
You can do this in the before insert and before update event of the trigger.
-Thanks
Ashlekh Gera
-Mike
-Thanks
Ashlekh Gera
The above code is not compiled but the logic should work 100%. Please share the results with us.