You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Invoke long-running OIC integration, wait for a response, from web page

edited Nov 25, 2020 5:48AM in Integration 8 comments

Summary

I need to invoke an OIC integration via REST, and I need it to return a response but the integration may run a while

Content

Hi all,

This is more of a design pattern question when using an external webpage to call an OIC integration and expecting a return.

The use case is:

A Customer Portal webpage will call out to an OIC integration using REST (could be ajax, could use a library like jQuery).  It will pass along a small JSON payload.  

The OIC integration will receive the payload which has a record ID in it.  The integration will do a whole bunch of (potentially long running) stuff, resulting an another, different ID being generated from a database.  This second ID needs to get sent back to the calling web page who will use it to generate a URL with parameters.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!