EX0Mailbox removal on Outstanding

Hello,

Is there a process orchestration step that can check the target system if it exist and if not split the step?

I need to check if the person has a Exchange mailbox in order to fire the deletion. We have been moving people to remote mailbox and i have a process to remove the account definition for mailbox and assign the remote mailbox but need a easy process to have the EX0Mailbox removed from the user as it fails when trying to delete because it's outstanding.

Any suggestions or help is appreciated.

Thank you,

Lu