You need to sign in to do that
Don't have an account?
SRI RAM A
Parent record can only closed when child record status 'completed' or 'delivered'
For example, we have a custom object called "Internal Task" which is related to the Case object through a lookup field.
What I would like to setup is
A Case can only be closed, if the following is True:
All related Stories are in a status of "Delivered", "completed
How to write trigger for this.
What I would like to setup is
A Case can only be closed, if the following is True:
All related Stories are in a status of "Delivered", "completed
How to write trigger for this.
CarlosLima
Fire a trigger every time it is before update the case, so on the case object search for the related Internal task (one or all), once all of the values of the field in internal task mark as completed you update the case object, otherwise a message will appear.
Wilfredo Morillo 20