I have a parent page sitting on a view, and opened in a modal dialog (through pagelist) . The child view contains check box on clicking I need to refresh the flowaction so that I can run a datatransform and perform some calculations . Did anyone tried before . Does Rule-Declare-Expression helps in this case?
For this use case, I would not rely on Declare Expression as the main mechanism. Declare Expressions are useful for deriving calculated values, but they do not by themselves refresh the flow action/UI.
The better approach is to configure a form refresh / refresh condition on checkbox change and run a data transform during that refresh to perform the calculations and update the parent or case-level properties. Use a Declare Expression only if you simply need an auto-calculated property value, not a UI refresh.
How do I run datayransform on check change
Rgds
Balaji Choda
@BalajiC71 Are you in the User Experience Expert Circle? I would like to move this under that area, so it can be found with other Constellation questions. However, if you are not a member you won’t be able to respond (until you join), so don’t want to just move on you.
Please let me know if you join and i’ll move.
Yeah sure I will join .
Thanks
Balaji Choda
Great. I’ve moved it, should get more Constellation responses that way.
Are you on Infinity '25? You can use table > modal with actions.
Then you can use form refresh settings to listen for changes inside the flow action?
- https://community.pega.com/conversations/user-experience/form-refresh-settings%3A-the-artist-formally-known-as-“on-change%2C-run-data-transform..”
- How Form refresh works with Page List properties - Knowledge Share - Pega Forums
I can’t specifically remember any limitations that would not allow this, but would need to test to be 100% - it should work fine.
Could you please clarify the Parent and Child views on the same screen? The Child view is modal dialog and Parent view is a different screen. Ideally, the form refresh from your Data layer flow action should trigger if the checkbox is defined in child view through the Modal dialog. @MarcCheong already shared the example in his post.
