Create Triiger for - case cannot be closed if there are outstanding tasks on the case.