Open Application

Last modified by VuNH54 on 2023/09/16 00:58

RCA.Activities.Common.OpenApplication

Description

The Open Application activity allows you to open an application and execute multiple activities within it.

image-20230417163220-1.png

(* is mandatory)

In the body of activity

  • Indicate window on screen- Allows you to automatically open an application by selecting its window.
  • Do - The activities you want to execute within the application.

Properties

Common

  • Continue On Error (Boolean) - A Boolean variable has two possible values: True or False
    - True : allows the rest of the process to continue the execution even an error occurs within the activity.
    - False : blocks the process from continuing the execution.
  • TimeoutMS (Int32) - The maximum amount of time (in milliseconds) to wait for the activity to complete before an error is thrown. If the timeout expires, the activity will be terminated. Default value: 30000 (milliseconds).
    E.g: 30000

Input

  • Arguments (String)* - The parameters that can be passed to the application at startup. You can use this property to open a specific file with the application you want to open. Only one of two fields [File Name] or [Arguments] must be specified.
    E.g: C:\Users\currentuser\Documents\Sample.xlsx
  • File Name (String)* - The full file path of the application. This must be quoted. Only one of two fields [File Name] or [Arguments] must be specified.
    E.g: name.docx
  • Selector (String) - String of characters that identifies the location of the window.

Misc

  • Public (Checkbox) - Check if you want to public the activity. Remember to consider data security requirement before using this property.
  • Display Name (String) - The name of this activity. You can edit the name of the activity to organize and structure your code better.
    E.g: [3424325] Open Window

Options

  • Working Directory (String)- The path to the working directory and must be quoted.
    E.g: C:\Users\Admin..

Output

  • Application Window (WindowApp)* - Output of the activity with type = ‘WindowApp’. Output variable can be used in another Attach Window or Use Window property of other Common Window Activities. Not allow whitespace in the output’s name.
  
Navigation