Step-by-Step Guide to use Application Exists to find the Application Running Status
Let’s create an example to detect the web application availability in an automation process.
Prerequisites:
- In the Admin menu, add an application of Application type – WebApps.
- In the Application Properties panel:
- In the Login URL and Search URL field, enter https://www.google.com
- In the Display Name field, enter GoogleSearch.
- In the Preferred Browser list, select InternetExplorer.
- Click the (Save Properties) icon to save the application details.
The web application is created.
To create a process with Application Exists activity:
- Create a process.
- In the Parameter out, create an In argument GoogleAppExists of Argument type – Boolean.
- From the Canvas Tools panel, add the Application activity to the Flowchart designer on the Canvas.
- In the Application Type list, select WebApps.
- In the Select An Application list, select GoogleSearch.
- Double-click the Application activity.
- Drag the Application Exists activity and drop on to the Flowchart designer area on the Canvas.
- In the Output Mapping list, select GoogleAppExists.
- Click the << Flowchart.
- From the Canvas Tools panel, add the If activity and drop on to the Flowchart designer on the Canvas.
- Double click the If activity.
- In the Enter Expression here field, enter GoogleAppExists.
- In the Drop activity here section of the Then activity box, add the WriteLine activity from the Canvas Tools panel.
14. In the Text field, enter the text "Google Application Exists".
15. In the Drop activity here section of the Else activity box, add the WriteLine activity from the Canvas Tools panel.
16. In the Text field, enter the text "Google Application does not Exists".
- Save the process.
- Set up the environment and perform test run.
The console displays the output as per the received inputs.