You need to sign in to do that
Don't have an account?
Nitin Sharma
Scenario: I need to update some field based on territory assigned an account. I have written a Trigger on after update but it didn’t work as nothing is updated on the account so my trigger didn't work.
Can a field be updated on Account object using territory assignment rules?
Scenario: I need to update some field based on territory assigned an account. I have written a Trigger on after update but it didn’t work as nothing is updated on the account so my trigger didn't work.
You can able to do it . But good if you can share the code to find the issue and let me know what field you wanted to update
i am working on something similar:
E.g - Assume we a Territory called - "Varun's Territory" and the user assigned to that territory is "Varun Vyas" and there are 100 accounts assigned to it by some assignment rule. Also, assume we have a field on Account called "User assigned to Territory"(could be lookup to user or could be just a text field). So, is there a way by which we can update this field's value to "Varun Vyas" for his 100 accounts (this needs to be automated without using data loader)?
Can you please share Trigger code for reference?
Much appriciated,
Varun