Hi,
We have Webapi's which are exposed to third party system to consume, I would like to know how to enable logs to know the request/response details which has been received/sent whenever the webapi is invoked by the third party system.
We are calling Expression Rules from our Webapi and not triggering any processes.
Regards,
Balaji.R
Discussion posts and replies are publicly visible
Hi Balaji -
You certainly can investigate building a plugin for this.
I personally would recommend that you consider using an approach similar to what simples533 proposed, though.
Using the database to track the transactions that reach Appian is easy to set up and reliable.
Longer term maintenance of this utility is going to be easier in the database than maintaining a plugin as well.
Also, you said you want to "enable logs to know the request/response details which has been received/sent whenever the webapi"
That's a lot of data to manage in log files. These could grow very large, and we don't know how well your plugin is going to manage generating all those logs. I suspect you wish to avoid doing anything that will slow down your system.
Consider looking for a way to log all of this at the network layer, outside of Appian.