I have send out an Application Message from IFS to an external API endpoint using a HTTP connector.
I have reaced the endpoint succesfully.
The endpoint returned me back a message and IFS is showing it to med in a .txt file.
How can I access that response, and have is saved somewhere in the database?
Any help is very appreciated.
Kresten
Best answer by dsj
Elaborating the answer by @Tomas Ruderfelt , here’s what I have done in a similar scenario where I had to process the reply from an external web service in Apps9 without doing any code modification
In my scenario, I’m getting the currency rates from an external API and update IFS currencies.
1: Create an event on FNDCN_APPLICATION_MESSAGE_TAB based on STATE field
Event Action: remember to add proper conditions just to trigger the action only for your integration, and state = Finished
This calls another event in a background job. Reason for taking this approach is the message reply is not commit at this time so we can’t access it directly from the event action on FNDCN_APPLICATION_MESSAGE_TAB
Elaborating the answer by @Tomas Ruderfelt , here’s what I have done in a similar scenario where I had to process the reply from an external web service in Apps9 without doing any code modification
In my scenario, I’m getting the currency rates from an external API and update IFS currencies.
1: Create an event on FNDCN_APPLICATION_MESSAGE_TAB based on STATE field
Event Action: remember to add proper conditions just to trigger the action only for your integration, and state = Finished
This calls another event in a background job. Reason for taking this approach is the message reply is not commit at this time so we can’t access it directly from the event action on FNDCN_APPLICATION_MESSAGE_TAB
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.