1
Views
4
Comments
Calling external applications
Question
Hello all,

I planning to create a application using the Agile Platform that will execute external commands/applications (e. g. batch files).
Is this supported by the platform, or must I code this?

Thanks in advance,
Pedro Barbosa
2019-06-17 07-29-54
Hermínio Mira
Hi Pedro,

Is there really anything we can't do with this platform? Or with some extensions to it... :)

I've used this one in a project and it worked fine:
https://www.outsystems.com/NetworkSolutions/ProjectDetail.aspx?ProjectId=62

Hope that helps,
Hermínio Mira
2020-10-15 10-24-31
Miguel Seabra Melo
Side note: I believe you will also need to grant permissions to the ASPNET / NETWORK SERVICE User to (at least) read and execute in the folder where the EXE you'll be launching resides (assuming it's not strictly inside the eSpace's deploy folder).

Cheers,


Miguel
UserImage.jpg
Pedro Barbosa
Hello Hermínio.

I tried to use the process extension but when I set the WorkingDir on the ProcessExecute action to "C:\Windows", for example, an exception is raised saying "The directory name is invalid ".
Can you help me?

Thanks.
2019-06-17 07-29-54
Hermínio Mira
Pedro,

The first thing that comes to mind is what Miguel Melo has mentioned about user permissions on the folder, try to either check this permissions or create a sample folder and test it on that new folder.

Cheers,
Hermínio Mira
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.