Skip to main content

Windows application special properties

In addition to commonly used properties such as Path, TargetPath, and StartMethod, Pega Robot Studio includes additional properties for Windows applications for specific use cases. These properties include:

  • HookChildProcesses
  • Arguments
  • WorkingDirectory
  • HideApplicationAtRuntime

HookChildProcesses property

The HookChildProcesses property configures Pega Robot Runtime to automate any application launched by the parent application referenced in the Path property. This is distinct from the TargetPath property in that you do not reference the target child process directly. It also allows for both the parent application and any child applications to be used in an automation.

For example, the end user's typical workflow involves launching a CRM application and searching for a client's account. When the account is found, the CRM application launches a separate application to display the details of the user's account. The automation needs to work with both applications to search and return the client’s details.

  • One application starts other applications
  • Both parent and child applications are required for the solution

As a result, Pega Robot Studio hooks into or integrates with each application process.

Arguments

Use the Arguments property to pass command-line arguments required for starting the Windows application. For example, when launching a Java application, use this property to specify the Java class name.

Working directory property

The WorkingDirectory property points to the location of supporting files for the Windows application. By default, Pega Robot Studio populates this field with the same value as the Path property value. If the files are located in a different location than the executable, for example, the Windows application data folder, modify the WorkingDirectory property to point to this location instead.

HideApplicationAtRuntime property

The HideApplicationAtRuntime property determines the initial visibility of the Windows application. Use the Show method or Hide method to alter the visibility of the application when it is running. Alternatively, develop options to provide feedback to the end user, such as progress bars and toast notifications, to alert the user when an automation or process completes.

Check your knowledge with the following interaction.


This Topic is available in the following Modules:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice