I’m facing an issue with Form Refresh. I added three properties to the form refresh settings.
But when I update one property, the other properties get refreshed and cleared (set to blank) automatically.
What I did
Added 3 properties in Form Refresh settings and created seperate Data transform for each.
Issue
When I change Property A, Property B and Property C get refreshed and their values become blank.
What I expect
Only the property that is changed should refresh, and other properties should retain their values.
@SanketP16629929 could you provide some more details on the configuration.
What field types are A, B and C?
What does the data transform do?
Are they targetting fields not present in the view?
Are there any visibility conditions on these fields?
Possible causes
I’ve seen query fields being the target of form refresh settings, these are read only fields, so might be causing issues
IF you have visiblity when conditions, these are server side, so firing form refresh settings at the same time as when conditions, causes issues with server side calls.
The properties A, B and C are Paragraph type fields and are read-only.
They are populated using separate Data Transforms and displayed in the same view.
There are no visibility when conditions on these fields.
@SanketP16629929i think your response cut off? (maybe)
Data Transform?
What is in the data transform? There are rules with form refresh, like you can not cascade a trigger (change in A, triggers form refresh, runs data transform, updates B, change in B triggers another data transform…). Is there anything like that in your Data Transform?
Are they targeting fields that are not in your view (DX API will block that causing an error that could foreseeably reset fields)
Are they targeting page list properties? AND are you on a version before '25? (this was not possible and again could cause errors)
View?
Is your view split into multiple views? or field groups, its possible that this could be blocking the refresh.
Happy to respond if you can provide more details but would highly recommend raising a support ticket on My Pega Support so they can go through all your configuration to try and diagnose the issue. The above are the usual culprits when it comes to configuration issues