Page List Not Persisting Across Flow Steps in Correspondence Loop

USE CASE- LOOPING THROUGH CORRESPONDENCE TEMPLATE AND DISPLAYING IT ONE AFTER ONE.

Requirement:

  1. We need to create a correspondence template that uses a list of addresses. Each address in the list should generate its own separate correspondence, so if there are multiple addresses, a separate correspondence is created for each one.
  2. After the correspondences are created, they should be shown to the user one at a time. The user can review each correspondence and choose to either Send or Reject it. Once the user makes a selection, the next correspondence is displayed. This process continues until all correspondences have been reviewed.

Challenge
While trying to create a loop to generate address-specific correspondence, the Address Page List is disappearing from the Clipboard after a particular step in the flow. As a result, when creating each correspondence, the required Page List is no longer available. This causes the flow to break because the incremented page cannot retrieve the corresponding address details needed for the template.

Observation:

  1. In the flow, the correspondence is unable to fetch the required values for the template. While tracing the case, we observed that the Page List was missing from the Clipboard after a specific step in the flow.
  2. When the increment occurs, the Page List does not contain any values. As a result, the correspondence is unable to retrieve the required address details and throws an exception.

Question:
Has anyone implemented a similar requirement before? What would be the best approach to design this in Constellation?

Any suggestions, best practices, or alternative implementation approaches would be greatly appreciated.
Thank you.

1 Like