Hi All,
We've a process which is started via webAPI and has a node which uses QueryProcessAnalytics to query the process report to get a few details. This node where it fetches the data from Process Report is not working/not returning results when running the node as the same user as process initiator(in this case , service account used by webAPI), however, it works fine when changing to execute as user (process designer). We checked the security of the process reports and the parent folder and it has the service account group with Viewer permission. The only difference we see is the service account is basic user and the process designer user is system administrator. Any pointers to why query process analytics is not working when called via webAPI with a service account?
Discussion posts and replies are publicly visible
This is a permission problem. The user calling the API has to have access to all used objects. That includes the process instances that report show display.
Thanks Stefan, Was able to figure out as one the process model used in reporting was still having initiator permission to the process instead of viewer