Posted: 14 Mar 2019 22:58 EDT Last activity: 15 Mar 2019 1:40 EDT
Connect rest service asynchronously
I have requirement to send service request and do not wait for response. I tried run RunInParallell but it requires connect-wait to be used to wait parent requestor till child requestor finishes. Is there any way to not wait for child requestor with RunInParallel connector?
In Connect REST Under Service tab Choose the queuing in Processing Options.
You can allow connector requests from this Connect REST to be processed asynchronously in parallel with the calling activity, or in background by an agent. (The mode of execution of each connector request is determined by the Execution mode parameter of the Connect REST method, as enabled by the values in these two fields.)
Intended forOptional. Select:
immediate execution — the REST connector executes synchronously; the calling activity waits for results.
queuing (response will not be available) — the REST connector executes asynchronously, with calls placed in a queue. The calling activity continues without waiting for results.
Queuing, when selected, occurs only if also specified in the Connect REST method.
Request processorOptional. If you selected queuing for the Intended for field, identify here a Connect Request Processor data instance that defines the classes and other characteristics of the queued connector requests, and for which the RuleSet key part matches the RuleSet of this Connect REST rule.