Skip to main content

How can I get the elements from an array?

Suggest edit Updated on September 10, 2021

Use an Array data port to extract an arrayProxy and gain access to the array elements:

  1. In a Pega Robotic Automation automation, right-click the Result data port on the array, that is, the blue output data port on the StringUtils Split (2 parameters) component. Then, select Extract Proxy from the menu.
  2. In Object Explorer, select the array, such as stringProxy, in the automation hierarchy and drag the Get method onto the automation. The Get method has one (1) input parameter, ElementID, which is zero-based. The Get method result is the ElementID value.

Accessing array elements

Did you find this content helpful? YesNo

37% found this useful

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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