I want to create an IF action that checks if a certain application is running.
As you know, this action uses the full path to the executable in order to check if it is running:
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/316586bf-fcf4-484c-ab3c-4a29f1be012e.png)
What if I am using different runner machines, each with their own usernames in the path to the app?
I would want to wildcard the part that is variable to avoid the bot breaking.
My problem is that wildcards (*) does not seem to work in this instance. For example, if I wildcard the username like below, the bot will not register that the application is running:
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/e1382a77-e05f-4fa9-8e3b-3d9ffeb40ff2.png)
What would you do to get around this?
Best answer by Abhay Naik
View original