
Description | With this action you can start an external application on the computer. This can be, for example, Excel or a batch file. You can also pass parameters to the application when calling it up. |
Required licence | The External Applications (CMD) feature is required. |

1 | Application | Select the desired application. This should be an executable file (e.g. .exe). If you want to open a file, select the application here that is to open this file (e.g. Excel) and pass the file name of the XLSX file as an argument. |
2 | Arguments | Enter the arguments here that you want to pass to the application when it starts. These depend on the application. |
In this example, Excel is opened and the path and file name to the previously written XLSX file “Protocol” are transferred.
1 | Window mode | With the window mode you can select how the external application should be displayed (Normal, Minimised, Maximised, Hidden, Do not create window). This option is passed when the external application is started, but not every option is supported by every application. |
1 | Wait for the application to finish | You can activate this option to wait in the sequence of the trigger until the external application has been terminated again. The next action in the trigger sequence is only executed afterwards. This is useful, for example, if you are executing a batch file. |
2 | Max. Waiting time | Enter here the maximum time in seconds to wait for the application to end. If the application is not terminated within this time, the trigger terminates with an error. |
1 | Evaluate return code | If you wait for the application to finish, you can also evaluate the return code of the external application. This is useful, for example, if you are running a batch file and it could not be completed successfully. |
2 | Valid return code | Enter the return code of the application that indicates that the execution was successful (default: 0). If the application returns an error code other than the one specified here, the trigger terminates with an error. |