This works really well when run from inside Epicor. Is there any way that you know of to trigger this BPM if somebody calls a BAQ from REST api?
We will have external parties calling specific queries via the REST BaqSvc and it would be great to log them in the UD table as you are doing internally. However, when I run the query via the api (v2), I don’t get a record so it looks like the BPM is not triggered.
Instead of calling the BAQSvc directly, you could call an Epicor Function (also v2 REST) which calls the service in the function while also logging the execution. Examples of how to call the BAQSvc are on the site.