Connect REST only allows one resource parameter
You notice that if you have more than one resource parameter in the connection string, test connectivity operation for a Connect REST rule fails at the "Create an an HTTP Request object for the remote resource" step.
The original URL is parsed from Original_Resource_URL which in the below example has two parameters (V1 and ClaimNbr):
Note that only the first and last braces are removed, not the others.
Create a HTTP Request object for the remote resource: Fail
Steps to Reproduce
1. Set Resource Path URL with two Resource Parameters:
2. Run Test Connectivity. Notice failure at the creating request object step, also notice the test URL still has braces.
The root cause of this problem is a defect in Pegasystems’ code/rules. Multiple parameters are not parsed correctly.
This issue is resolved through the following Local-change:
In Rule-Connect-REST.pyTestConnectivity activity step-4, replace the regular expression,
This issue is also scheduled to be resolved in Pega 7.1.9.
Published June 17, 2015 - Updated October 8, 2020