Hi Sonal, Try to create a method in the corresponding schema. In that
defining the method in the schema.
How to exclude the members, whose account is disabled but present in
notification sending list, from notification emails when workflow
becomes error. Kindly post your answer that will be helpful for us.