Discussion
Pegasystems Inc.
US
Last activity: 15 Nov 2022 7:53 EST
Robotics Tip of the day: Default start and stop application methods
Tip #37: When you add an application, have you noticed that there are two application methods added automatically? Why are these methods added automatically? Are they required?
- These methods demonstrate best practice in use of application methods:
- An entry point with single exit point.
- Short descriptive names.
- Every execution path is accounted for and ends at exit point.
- These methods extend the functionality of each application.
- You can extend the functionality even further, if required.
- These methods are immediately available for use in automations and other application methods.
You are not required to use these methods, but best practice for application methods is to check to see if the application is running and on the correct page before attempting automation. The StartApp method does the first part of that, it starts the application if it is not running. Add more application methods to log in and to navigate to the correct page to fully harden your application methods and ready your application for use as an Application asset.
Note: Click here to see the latest Tip of the Day and a list of all prior tips.