cancel
Showing results for 
Search instead for 
Did you mean: 

How to loop a Soap Execute Snap?

JYuan
New Contributor

Hi All,

I am working on one task to get the "Completed "response from one web service with Soap Execute Snap.But the background process may not compete and respond with “Processing”. So is there a way to loop this Snap until I got “Completed” respond?

Thanks in advance!
Jay

1 REPLY 1

cstewart
Former Employee

There is not iteration capability within the SOAP Snap, so here’s an idea:
Turn your SOAP request into a triggered pipeline, which you call from a pipeline with the REST Snap. For each request that responds with processing, use that to set the “Has Next” option, and the REST GET Snap will iterate for you. In the “host” pipeline you may want to filter out the responses with Processing by adding a filter Snap.
Would that work for you?