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?
On putting 0 in connect-wait method gives the following error -
2019-03-14 23:19:16,458 [BTHREAD0, eon_id=932] [TABTHREAD0] [ ] [ DMT:01.01.01] ( internal.mgmt.Executable) ERROR crvpegadev1-frm.webfarm-dev.ms.com|126.96.36.199 ramshar - Exception
com.pega.pegarules.pub.PRRuntimeException: Couldn't queue batch activity for invoking Rule-Connect-REST in parallel; make sure you use the Connect-Wait method along with 'run in parallel'.
Posted: 3 years ago
Posted: 15 Mar 2019 1:40 EDT
Subramanyam Kopparam (SUBRAMANYAM-1)
Cloud Development Architect, PDC
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.