You need to sign in to do that
Don't have an account?
Shivom Verma 34
update parent status based on child status
3 Childs are different status then parent status should update with least child case status Ex: Child1='Status3', Child2='Status4', Child3='Status3' then parent status='Status3'
3 child are same status value then the parent should update with the same child status
3 child are same status value then the parent should update with the same child status
I think you can use a simple trigger that checks the maximum count for the selected picklist values in the child records and update the parent, this can be done before insert and update.
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.
can u provide some references or any code
thanks
Hi Shivom Verma,
Please find the solution.
I hope it will help you.Please mark best answer if it will help you.
Thanlks
but in my case, I took the case object and its related cases
so when related cases status changed same status should be updated to parent case status