In a model-driven app, the formOnLoad event is triggered when the form is initially loaded. However, if you want to re-trigger the formOnLoad event after the form is saved, you can use the formContext.data.entity.save method to save the record and then call the formContext.ui.refreshForm method to reload the form and trigger the formOnLoad event.
The easiest way to call demo.onLoad after saving is to add the “Modified On” attribute in the form:
MDA: How to invoke the formOnLoad event after saved – Temmy Wahyu Raharjo
Feb 14, 2022 — On the Events tab, select Event Handler and complete the following information to configure the form event, and then select Done: Event Type: ...
Missing: MDA: | Search with: MDA:
Sep 12, 2022 — Click on Form Properties; Then go to the Parameters tab; Add your parameter. In my case, I named it “tab_name”; Save & Publish the form.