
In a model-driven app with offline capabilities, I am facing a persistent issue where a double save is triggered under specific conditions. The app involves a business rule updating the ReceivedOn field. Here are the details:
Offline Behavior: The issue persists both with and without internet connectivity.
Testing Results:
JavaScript (OnSave/OnLoad) was used to set ReceivedOn, but the double save issue persists.
Business rule updates to ReceivedOn also trigger double save.
Disabling auto-save did not resolve the problem.
In an online-enabled app (without offline capabilities), everything works as expected with a single save.
A custom entity mimicking Created On behavior was tested with JavaScript, yet the double save remains unresolved.
I was able to reproduce this issue in a vanilla environment. Is this double save behavior expected in offline mode? Are there any workarounds or known limitations within the Dynamics 365 offline framework?