Skip to main content

Accessing automation data elements

Accessing automation data elements

Two non-standard ways to access data elements in a robotic automation are to either extract a data proxy from the design block data output or use the data element's This property from the Object Inspector.

Extracting a data proxy from the design block data output

A design block that produces data or passes data for an automation provides an option to extract a proxy on the data result for use within the same automation. The following steps assume that an automation is in development with a design block.

  1. On a design block with a data output (blue dot), right-click the data output. A context menu is displayed.
    proxy context menu
  2. On the context menu, select Extract Proxy. A new design block is displayed in the automation connected to the original data output with a data link. At the bottom of the automation, Pega Robot Studio™ creates a global automation variable defined by the proxy's data type, {datatype}.proxy1. The Object Explorer updates the automation hierarchy and displays the proxy.
    proxy objects
  3. If needed, use the Properties window to uniquely name the proxy.
  4. From the Object Inspector, click Configure Type to access the proxy's properties and methods for use in the automations.
  5. In the Object Inspector, click Configure Type to access the parameter's properties and methods. The Configuration window is displayed.
  6. On the Configuration window, check the needed properties and methods for the proxy.
  7. Click OK. The Configuration window closes and selected options are displayed in the Object Inspector.
  8. In the Object Inspector, click and drag the property or method needed to the automation.

Use the This property of the data element

The following steps assume that a procedure automation using an input parameter is in development.

  1. In the Object Explorer, click the Plus icon to expand the automation currently in development, and on the Execute note, click the Plus icon. The input parameters for the automation are displayed.
    proxy parameter
  2. In the Object Explorer, select the input parameter needed for the data value.
  3. In the Object Inspector, click Configure Type to access the parameter's properties and methods. The Configuration window is displayed.
  4. On the Configuration window, check the needed properties and methods for the parameter.
  5. Click OK. The Configuration window closes and the selected options are displayed in the Object Inspector.
  6. In the Object Inspector, click and drag the property or method to the automation.
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