I have run into this problem many times and not yet able to find solution to it.
Scenario:
- A user
John
is present in AD but have no permissions on the site. - A user filling out InfoPath form selects
John
from People Picker Control. - Upon submit, a workflow runs that sends email to the user listed in the People Picker Control.
- Since the user
John
has no permission on the site, workflow throws NULL exception and goes into suspended state. - This leave the workflow in a state where remaning statements don't run and some business rules not applied which is seriously not good.
Please suggest me some solution to this.