function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
You can follow the below steps:
- Create a trigger on Task object. Context would be after update
- If the status is changed to Completed, store the related account id in a set.
- Query the account records along with the child tasks where status is equal to Completed.
- Now set the custom field = related tasks size.
- Update the account.
Let me know if you need any help with the trigger code.Thanks,
Abhishek Bansal.
Gmail: abhibansal2790@gmail.com
Skype: abhishek.bansal2790
Phone: +917357512102