Launch Application

The "launchApplication" activity assists you in launching any type of desktop application.

Technical Reference

 

 

Input

DelayAfter: It assists the user to add a delay before initiating subsequent activities.

The delay duration here is in milliseconds. By default, it is set to "300" milliseconds.
When the option is left blank, the delay will not be considered.

DelayBefore: It assists the user in adding a delay before starting the execution of the activities.

The delay duration here is in milliseconds. By default, it is set to "300" milliseconds.
When the option is left blank, the delay will not be considered.

ExecuteBy: Gets auto filled once the "Active Application" is selected. This contains the set of attributes for the specific spied element.

 

Misc

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the "Boolean" value as "True" or "False."

 

True: Continue executing the workflow regardless of any errors thrown.

False: Halt the workflow if it encounters any errors.

None: If the option is left blank, the activity will, by default, behave as if "False" were chosen.

Version: It indicates the version of the feature being used.

Output

Result: It provides the ability to view the execution status of the activity. It returns values in "Boolean."

 

True: Indicates that the activity has been executed successfully without any errors.

False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow

Here's an example of how the Launch Application activity works –

1.       Create a solution to build a workflow.

2.       Install the "DesktopAutomation" feature from "Manage Features."

3.       Drag and drop the "LaunchApplication" activity onto the designer pane and
set as “StartNode.”

a.       This is the simplest way to select the application you want to launch.

b.       Double-click the activity.

c.       Here we are choosing the "Select Active Application" option.

d.       Click here to know “Link from Reusable Objects.”

 

e.       Choose the application you want to launch. Here, we selected the "Calculator"
app.

f.        Once you have chosen the "Active Application," the application's elements will
be stored in the "Spy" window, along with an "Image" of the application.

g.       If you wish to add or remove any attributes, you can edit the "AttributesEditor."
In this case, we are not making any changes in the “Editor.”

i.      Once you click on the "Save" button, the application's element will be stored
in the activity window.

Click here to know how the activity is used in the workflow.