Question

Call SOAP connector in bulk

Hello, I have a requirement to call same SOAP connector multiple times after looping into a page list. The page list can have large number of records for example 3000 records. For each records we need to call a SOAP service to fetch the details of the record. Please suggest the best approach to call the SOAP service and handle this requirement. Thanks

Comments

Keep up to date on this post and subscribe to comments

November 13, 2019 - 10:03am

It depends on what you want to do with the results.

Is every response data will trigger some process? Then use iterating shape in a flow.

Is response data need to be collected in, say, data page or page list? Then iterate in an activity

November 14, 2019 - 5:22am
Response to vaspoz

We need to save the parameters of response data in the DB table for each request. 

November 14, 2019 - 5:42am
Response to SUBHANKARDEY

1. How often this process you exect to be (per day)?

2. Will a user wait for the results or it is completely async process?

November 22, 2019 - 12:45am
Response to vaspoz
  1. It can be run 2 - 3 times in a day.
  2. It can be async process.

 

November 22, 2019 - 3:15am
Response to SUBHANKARDEY

So, firstly, if you have any leverages to push the service team to make another one (to have 1 request with 3000 records and to get 1 response), I'd suggest you to do that.

Otherwise, you should concider to do that overnight in several nodes. Then, ask yourself - are these values static? could they be cached on Pega server? Maybe it worth to keep a copy of the response on your server and just update it once per week (or again - overnight)

November 26, 2019 - 5:05am

Hi,

If it is an Async process, you can queue the connector activity

Queue Method - Pega help link

https://tracker2.deloitte.com/prhelp/methods/queue/queue.htm