You need to sign in to do that
Don't have an account?
Kiran Kumar 225
After update
Hi,
I have two objects A and B, A is the parent to B, both objacts have status fields, when ever Aobject Status is changed from "Inprogress" to "Complete"then all child B object status changed to "Complete".
Please send me the sample trigger.
I have two objects A and B, A is the parent to B, both objacts have status fields, when ever Aobject Status is changed from "Inprogress" to "Complete"then all child B object status changed to "Complete".
Please send me the sample trigger.
- Specified Object: Object A & when record is created and edited
- Criteria: Formula criteria = ISPICKVAL(PRIORVALUE(StatusOfA),"In Progress") && ISPICKVAL(StatusOfA, "Completed")
- Immediate action: Update records, "Select a Record related to Object A", choose object B from list
- StatusOfB = "Completed"
When an Object A record's status changes from in progress to Completed, all its child Object B records' statuses will also change to Completed.All Answers
- Specified Object: Object A & when record is created and edited
- Criteria: Formula criteria = ISPICKVAL(PRIORVALUE(StatusOfA),"In Progress") && ISPICKVAL(StatusOfA, "Completed")
- Immediate action: Update records, "Select a Record related to Object A", choose object B from list
- StatusOfB = "Completed"
When an Object A record's status changes from in progress to Completed, all its child Object B records' statuses will also change to Completed.Trigger:
Like this answer, if it helped you understand the solution.
Mark this Best Answer, if it solved your problem.