Check if Outlook is open

Hello team!

I need help verifying that an app is open!

the idea is to list the processes running and if the outlook is in the list executes the send email, if it does not execute the open outlook, I stopped in the part to check if it is open or not. Can someone help me?Outlook.xaml (12.7 KB)

1 Like

Store the list of the processes to one variable(var1),then check for the condition var1.toString.contains(“Outlook”) if the outlook processes is found then will send email if the outllok is nt found then in else part open the outlook using open application.

check this xaml hope it will help you

CheckProcessIsRunning.xaml (9.6 KB)

1 Like

Thank’s guys.
I did it that way. Now I will try to put in the try catch blockSolicitacaoApontamento.xaml (12.8 KB)