Skip to main content
manavik105
June 21, 2023
Question

How do I know when an API is getting triggered ?

  • June 21, 2023
  • 7 replies
  • 0 views

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.  

7 replies

mathieud0001
June 21, 2023

How about creating a wrapper process that is used solely by the API which then calls your process model?

manavik105
June 21, 2023

Thank you for the response [mention:f5e81b8502fa4e77ad12697686a4fc56:e9ed411860ed4f2ba0265705b8793d05] 

I did not understand what you meant exactly. Could you please explain more on how to create a wrapper process?

harshitb6843
June 21, 2023

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. 

June 21, 2023

Just open the process plugged in API and check Process Instances?

harshitb6843
June 21, 2023
I see this process model is getting triggered every now and then started by a service account

You already mentioned the answer yourself :) 

stefanhelzle0001
June 21, 2023

This depends on what you exactly want to achieve.