My use case is that the data takes around 10 seconds to load to the the Data page Page List (Connect Rest) and i am using the D page in my Embedded data and displaying as Repeating View. For example ContactHistoryInfo is the Data Page List used in the embedded data.
Now in Constellation, the UI initially loads without the data, and currently I have to manually refresh the entire screen to see the updated data once it becomes available.
Is there a way to make the UI update dynamically so that the data automatically appears after the 10-second load time without requiring a full screen refresh?
I just created a property of embedded data type and inside that mentioned the data object and chose list of records which uses the Data page list of that data object
Instead of using a pre-processing Data Transform on the assignment step, try moving that data-copying logic into a Data Transform configured on the flow connector line right before your step.
Shifting the logic to the connector line ensures the asynchronous REST integration completes and populates the embedded data before the UI view attempts to render. This will resolve the issue and ensure the data is fully present and visible as soon as the user lands on the assignment screen.
Actually the thing is i want to implement an action then show the data which is taking 10 seconds but is visible only when we refresh so as in constellation there is no action set what i tried i like creating a async activity used Load Data Page and then Connect step and after that used a property “FLAG” and used property set to change the value of “FLAG” now in the form refresh setting i thought of using this “FLAG” and in the DT of this i would map values from the Data page to my case properties now the thing is in Async Activity i cannot use Property Set so i dont know how to pull this off.
It seems the connector is taking about 10 secs to fetch the data from external system.
If you’re looking for the User interface to be refreshed automatically once after connector, then leverage this pyPublishMessageForCaseRefresh activity Pegasystems Documentation
so basically i want to implement a button or some action which on clicking will show the data coming from a Data page but in constellation we don’t have the feature of buttons
As I said before, Can’t you load your data page already in the flow connector before the step is reached and lets say there is a check box or something on the screen and on selecting that checkbox you can configure a refresh data transform in the flow action to copy the values from the data page to your case type property. Alternatively we can set the property itself there and Add a visibility condition on the embedded data property to be visible only when the check-box is selected. Does this not serve your requirement?