Connect-REST method |
Use the Connect-REST method to start an HTTP request/response interaction between PRPC and the external system identified by a Connect REST rule (Rule-Connect-REST rule type).
This method accepts three required and one optional parameter.
Parameter |
Description |
ServiceName |
Service name of the Connect REST rule to run. |
EndPointURL |
Optional. Specify the URL of an external system to which you want to connect. A value specified for this parameter overrides the value set in the End Point URL field on the Service tab of the Connect REST rule. |
MethodName |
HTTP method to execute. Select GET, POST, PUT or DELETE. |
ExecutionMode |
Select to indicate the timing of execution
|
The Connect-REST method works as follows:
Run
— Executes the simulation activity synchronouslyRun In Parallel
— Executes the simulation activity in a separate requestorQueue
— Queues the simulation activityRun In Parallel
— Executes in a separate requestor. (This temporary requestor has the same access group and clipboard as the original. At most 10 such child requestor sessions can be active at once.) Queue
— Creates a queue item based on the class and other characteristics identified in the Connect Request Processor, for later background processing by the Pega-IntSvcs agent.About Connect REST rules Connect-Wait method |