You need to sign in to do that
Don't have an account?
Kimberly Wargo 1
Write a trigger to reassign the task owner
I hope this is an easy one.. I have not yet started writing triggers so it's all foreign to me.
I need to write a trigger to reassign a task based on a subject content to a lookup user in the record.
We have mutliple people that handle an account and I created a workflow/rule to automatically assign a task based on a specific criteria but I cannot assign it to another user besides the account owner.
Any help is appreciated.
I need to write a trigger to reassign a task based on a subject content to a lookup user in the record.
We have mutliple people that handle an account and I created a workflow/rule to automatically assign a task based on a specific criteria but I cannot assign it to another user besides the account owner.
Any help is appreciated.
This is the simplest i could think of and you can substitute the ownerId to be any User's Id (You can add other fields as necessary inside the for loop).
Of course this will need more work if you have some conditions to check before assigning Users to a task.
Let me know if this helps!
All Answers
This is the simplest i could think of and you can substitute the ownerId to be any User's Id (You can add other fields as necessary inside the for loop).
Of course this will need more work if you have some conditions to check before assigning Users to a task.
Let me know if this helps!
If you can explain more about tour requirement along with an example then it will be easy for us to help you.
Regards,
Mahesh