marklogicworkflow
marklogicworkflow copied to clipboard
Synchronous calls
Often it is necessary to make synchronous calls to a BPM engine, such as figure out which GUI is next in a sequence based on exclusive gates. This must return quickly (in "satisfying web page response" timeframes) to be useful.
An easy way to do this is to have an endpoint that kicks off the workflow and waits for it to finish via CPF. If the CPF can be put on the task server with the high-priority flag set for these synchronous calls, so much the better.