This blog post explains, how to capture successful/error run count of the interface in header of the file.
In some scenarios, we need to capture the successful or failed status of an interface and send it to any downstream applications. So this blog post will explain the simplest way to implement it.
Below is the simple iflow shown in this blog and this may varies based on the requirement:
This is the overall iflow looks like and this could be called as sub flow in any of the interface to capture the status.
Use OData adapter which support the “MessageProcessingLog” resource path.
Under connection tab use Oauth credentials or client certificate. Basic authentication will also work however the user and password will be changing based on the environment so recommended option is to use a common user and password like (Oauth credentials or client certificate)
In Address use your tenant url followed by /api/v1 like below