Start Application

The Start Application activity launches an executable file (program) by its name or by the full path, with the startup parameters specified. Using this activity, you can perform any commands as if you were using the OC Windows command prompt. Moreover, it allows you to close applications. Start a standard Taskkill.exe application and specify the required program as an argument. After the activity execution the program will close.

Activity settings

To open the settings window, click on the activity on the process diagram.

Parameters Tab

The Parameters tab displays the basic activity parameters:

start program parameters

  • Name. The activity name on the process diagram. It is set by the template when adding the activity. If you want to change the name, you can do it in this field;
  • Command to start the process. Specify the command to run the program: for instance, the notepad command will launch the Notepad application, whereas the explorer command will open the file explorer. Also, you can use the full path to the executable file as a command. For example, to launch Google Chrome, you can type C:\Program Files (x86)\Google\Chrome\Application\chrome.exe;
  • Startup arguments. Launches programs with additional parameters. For example, you can use the --incognito argument to launch Google Chrome in incognito mode. Lots of programs have their own argument sets.

You can use context variables when specifying the command and startup arguments. Click on the add variables button icon and and specify the variable. You can select it from the list or create the new one by clicking Create parameter. The value is inserted as {$variable name}. You can fill in the field manually following the format. Read more about process context variables in the "Process context" article.

Conditions Tab

Read more about the Conditions tab in the "Basic activity settings principles" article.