Triggering the afterSave event via JSON API call?


Leap Version: 9.3.3.0_37
Leap Deployment: Standalone Leap
Operating System: Windows 11


Problem/Query: I have a review process where I load data to a Leap application for end-user interaction. I have built a process to check the loaded data against another data set and pushes any updates via JSON API call. This includes pushing a field value to a single line field that is used in a service on the afterSave event to record the value of that field basically as an audit history. When I manually update a record, this works as intended, but when my process runs to update the records via API, the field value is being updated, but the service itself doesn’t run.

Is there an alternate way to A) trigger this service on every submit button action without having to rebuild that service on each unique submit button and B) only trigger the service when the data submission is successful?