marklogic-community / marklogicworkflow

Content and Human Centric Workflow for MarkLogic NoSQL systems
Other
19 stars 12 forks source link

Synchronous calls #128

Open damonfeldman opened 6 years ago

damonfeldman commented 6 years ago

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.