View BAQ / Dashboard last executed time

Hi Mark

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.

Any help would be appreciated.

Regards
Marty

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.

Thanks Mark. I’ve implemented your solution and it works like a charm for me in E10.

1 Like

Hi Mark

Thanks will help me tidy up my BAQ’s and Dashboards before moving to the Kinetic Interface.

Many Thnaks

Richard