Table of Contents

Article

Repeating row values in a repeating group in a harness, section or flow action

Summary

By creating an activity named AddRow, you can make a new row in a repeating group inherit the property values of the preceding row.

 

Suggested Approach

To enable a new row to inherit the properties of the row preceding it, you need to create an activity named AddRow:

  1. From the Rules by Type explorer, select Technical > Activity.
  2. Click the New icon. The New Rule Instance dialog box displays.

  1. In the Activity Name field, enter the name AddRow for your activity and click Create.
  2. On the Pages & Classes tab, specify the page name and class.

  1. On the Steps tab, create a step that copies the property values of the last page of the Page List and appends it to the next page in the Page List.

  1. Next, create a step that calls the standard activity Work-.Show-Harness.

  1. Finally, select the repeating group in your harness and click the view properties icon to display the properties panel.
  2. On the Body tab, add the AddRow activity to the Append Activity field and click OK.

Tags:

Published November 12, 2007 — Updated April 3, 2008


0% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.