Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Predefined application methods

Updated on October 19, 2022

Each time you add an application to a project in Pega Robot Studio, two application methods are created automatically: StartApp and StopApp. These predefined methods are useful to make sure the app is in the correct state, and can be called from other automations.

Application methods are single-purpose automations that you can create to use in solutions, just like any out-of-the-box method. The predefined application methods check to see if the application is running or not, and return a Boolean value that indicates the current state. These predefined methods also illustrate the correct way to build an automation workflow.

In the project, these application methods are children of the application, as shown in the following figure:

Predefined application methods
Project Explorer showing predefined application methods as children of the application.

Click on an application method to open it on the Automation Surface, where you can edit or test the automation. The following figure shows the StartApp method on the Automation Surface:

StartApp on the Automation Surface
Automation Surface showing the StartApp application method.

In the Application Designer, you can click on a predefined application method and open it on the Automation Surface or record additional steps in the application, as shown in the following figure:

Application methods in Application Designer
Application methods as displayed in the Application Designer.

Note: Steps recorded from this screen are added to the selected predefined application method.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us