Question
How to Identify the Source of Entity Changes in OnSaving (UI or Business Process)
03:05 Sep 23, 2025
We are using OnSaving(object sender, EntityBeforeEventArgs e).
Is there a way to filter the source of the entity change — for example, whether a business process was modified — and get the business process ID?
Or is there a way to filter which changes were made from the UI and which were made by business processes?
Like
1 comments
13:03 Oct 01, 2025
Hi Evgen samoilov,
Inside the OnSaving event, you cannot determine the source of the change.
As a workaround, to understand where your entity was changed from, you can add a column to this entity that will contain information about the save process and read it inside the OnSaving event.
Show all comments