Fixing KieFunctions method used for validating ApprovalType