I have 2 objects here
1) Account - Parent
2) Showing - Child
When the status on the account is dead, I wanted the status on the Showing record also to be dead.
I have created a trigger to do it but I am getting a strange error.
Error:Apex trigger UpdateShowingStatus caused an unexpected exception, contact your administrator: UpdateShowingStatus: execution of BeforeUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id a0KJ0000001CKO5MAO; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ShowingCount: execution of BeforeUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id 001J000000R4YjHIAV; first error: SELF_REFERENCE_FROM_TRIGGER, Object (id = 001J000000R4YjH) is currently in trigger UpdateShowingStatus, therefore it cannot recursively update itself:  Trigger.ShowingCount: line 21, column 1: : Trigger.UpdateShowingStatus: line 17, column 1
I am posting the 2 triggers here
This is another trigger which is causing the conflict
Can someone help me to fix this error please.
Thanks and Kind Regards