Open Application activity with path options


In my process, I need to open Microsoft Dynamics Ax but I’m not working directly with the application that is holding production data :slight_smile:

On my Windows 10 desktop I have two shortcuts to Dynamics Ax with those targets :

  1. Production shortcut : “C:\Programes files\Microsoft AX\Client\Bin\Ax32.exe”
  2. Test shortcut: “C:\Programes files\Microsoft AX\Client\Bin\Ax32.exe” “\Axapta\Dynamics\Config\Ax.axc”

As you can see, for the test shortcut I have additional option to launch the application. I tried to add them in Input:Argument of Open Application activity but it’s not working. I got error from Ax saying that parameters are invalid.

If I put everything in FileName field I got exception from UiPath saying that the file path is not found.

Any idea ?

Hi Promo,

When you put the test shortcut URL in Command Prompt, does it open the application?

Also, “\Axapta\Dynamics\Config\Ax.axc” is that in the same folder (ProgramFiles)


I have no idea and I don’t know how to use it, I’m a Mac user but shortcuts are working well.

If I put the string of the path argument between 3 double quotes I don’t have any error…

can you right click on Shortcut and select Properties and can you copy and paste the Target Field value here?

It’s in my first message …

Anyway after checking the 3 double quotes solution is working.

thats great. Good luck

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.