You need to sign in to do that
Don't have an account?
Abilash.S
To get count of users related to contact in Account object
I have account and contact which have lookup relationship. In contact there are three fields like f1, f2, f3. Each field has some users count. I need to get all count of users in account object. How to do this.
>> https://trailblazers.salesforce.com/answers?id=9063A000000e6q5QAA
The above link has a similar implementation you can try checking the answer in this link once.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
Hi Pavushetti,
we can write a trigger for this. we will add the total user from the contact field and put them in the account field.
You can take reference from this code.
If it helps you please mark it as Best Answer.
Thank You!