Datapage is being called twice in model dialog (Constellation)

On click of add in embedded list model dialog will appear where i have cofigured a view with few fields, out of which A picklist property(in Data- class) is available which is refered to a datapage(of work- class) which accepets a parameter(it is pzInsKey). When i inspect while clicking Add i see datapage is called twice first time with parameter passing and second time null is being passed so my picklist is resulting 500+ results which i don’t want.

I have a similar use case and it gets triggered only once. This seems to be triggered 2nd time from your code. Could you please confirm if the 2nd call is made from From Refresh Settings or declare expression where this DPage is used?

Or visibility when rule or pre-processing on modal? I know the latter, '23 time frame there was duplicate calls when using pre-processing and visibility conditions.

Hi ramesh, When i change the model dialog to launch view instead of flow action, DP got initiated only once, which was actually working well and good. The issue is with modal dialog with Action. and this Dp is used to refer picklist and not used any where else. The picklist property will be reside on model dialog box.

No visibility, or preprocessing were configured on modal, But the 2nd call is not happening when modal is changed to display view instead of action..

Since you mentioned in your comments, do oyu have Pre Data transform configureed to trigger this data page?

Datapage was source for picklist property. The picklist property is in view of modal dialog.

Yes, I have a similar configuration. I do have a modal dialog with Picklist property sourcing the Manufacturing Entities using data Page. Are you on 25.1?As @MarcCheong suggested, there seems to be an issue in the older version.

This issue got resolved when changed modal dialog from action to view.