This might sound a bit silly but I wanted to know how to track during which phase of the application flow, an API is being triggered?
I have an API that kick starts a process model that queries data from database and that is about it. In the backend I see this process model is getting triggered every now and then started by a service account. Now, how do I know when this API is even being called? How do I back track it? checking its dependents doesn't show anything except for the process model.
Any response is appreciated. Thanks.
Discussion posts and replies are publicly visible
How about creating a wrapper process that is used solely by the API which then calls your process model?
Thank you for the response Mathieu Drouin I did not understand what you meant exactly. Could you please explain more on how to create a wrapper process?
If you want to get notified, then you can also configure a send email node that sends you or a group of users an email every time API triggers a process model. FYI, the number of times the process model is triggered by the service account = the number of times API was called.
Just create a process called "My Process API" which the API will call. In My Process API, you simply call your other regular process as a sub process. This way you will be able to differentiate the calls originating from the API from those where the process is just called from within the application in the Monitoring view.