Skip to main content

Object properties, events, and methods

Object properties, events, and methods

Depending on the nature of the manual process, using the Object Explorer and its two sections to develop an automation is a simple process. While the order in which you add items to an automation does not matter, you should add them based in the order of the manual process steps.

Add a property, event, or method to an automation

Follow these steps to add a property, event, or method design block to an automation. These steps assume the project contains an automation project item.

  1. In the Solution Explorer, double-click on the automation project item to open it in the designer window.
  2. In the Object Hierarchy, click to highlight the desired object.
  3. In the Object Inspector, click either the property, event, or method button to filter the options.
    Object inspector
  4. Click and drag the desired property, event or method to the automation designer window.
  5. Release the mouse button to add the design block to the automation.

Add properties, events, and methods to the Object Inspector

Often the desired property, event, or method does not display after clicking the associated toolbar icon in the Object Inspector.

Follow these steps to add a property, event, or method to the Object Inspector. An automation must be active in the designer window.

  1. In the Object Hierarchy, click to highlight the desired object.
  2. In the Object Inspector, click Book toolbar icon. The Object Type Configuration window displays.
    c07p1e2 05
  3. Enter a name of a property, event, or method in the Filter textbox. The Configuration window begins to filter out all the options that do not contain the letters entered.
  4. Click the Plus sign to expand and locate the needed property, event, or method.
  5. Select the check box in front.
  6. Click OK. The selected items display in the Object Inspector.
  7. In the Object Inspector, click the appropriate toolbar icon. The selected property, event, or method from the Configuration window displays for use.

Expanding object component properties

The Object Explorer provides access to an object's component properties. For example, the combo box: combo boxes can cause difficulties when used in automations. Think about the combo box control as having two levels -- the first is the control level, and the second is the items or options in the combo box. Accessing the right properties, events, and methods for this second level is not intuitive.

Access the component properties

The process assumes the use of a combo box control in the Object Explorer.

Follow these steps to access the component properties of an object.

  1. In the Object Explorer, locate combo box the control.
  2. In the upper-right corner of Object Explorer, click the Explore Component Properties toggle button
    c09p4e1 02
  3. The Object Explorer window refreshes. Scroll down the list of components and click Items to highlight it.
    c09p4e1 03
  4. In the Object Inspector, click Configure Type.
  5. In the Object Configuration window, search for the needed property, event, or method. Use the Filter field to minimize the search results matching the entered text.
    C09p4e1 04
  6. Select the check box corresponding to the needed property, event, or method.
  7. Click OK to close the Object Configuration window.
  8. In the Object Inspector, click the WrenchLightning bolt, or Box to locate the newly added options.
  9. Click and drag the needed option to the automation.
  10. Click the Explore Component Properties toggle button to return to the original Object Explorer view.
    c09p4e1 02
    Note: To access previously selected component properties, events, and methods, return to the component again using the Explore Component Properties button to update the Object Inspector.

This Topic is available in the following Module:

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

Did you find this content helpful?


100% found this content useful

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