Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
ALTER.NEXT:

Join us on Dec 2 for a half-day virtual analytics + data science event!
US & CA customers only

SAVE YOUR SPOT
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
SOLVED

Download Tool Retry Option

Highlighted
8 - Asteroid

Is there a retry option for the download tool? There is a timeout but I want to be able retry if it fails.

Highlighted
Alteryx Alumni (Retired)

To do this I recommend an iterative macro.

 

Parse the header and any that fail go into the iterative macro, after the input of the iterative macro put another filter and loop until X number of iteractions or until the URL is valid.

 

you might need the throttle tool if you want to try every X sec/minutes

 

Post an example URL if you want me to put together a demo macro for you 

pamW
Highlighted
8 - Asteroid

https://address.melissadata.net/v3/WEB/GlobalAddress/doGlobalAddress

 

I will be using HTTP post request. I have the header and body already build. So I have array of requests that I’m taking from another macro. I would the download tool to retry the request if packet gets dropped. Currently, if one of the packet fails I get an “Error transferring data: Failure when receiving data from the peer” error.

Highlighted
Alteryx Alumni (Retired)

Validating addresses and getting the Lat Long is part CASS built-in tools, see http://help.alteryx.com/current/CASS.htm and

http://community.alteryx.com/t5/Data-Products-Knowledge-Base/February-2016-US-and-Canada-release/ta...

 

 

pamW
Highlighted
8 - Asteroid

Yes, those are just for U.S. and Canada. I’m building a macro for Global Address that uses the WS.

Highlighted
8 - Asteroid

I know the download tool uses cURL, and it has the built-in retry option if you don’t get a response after certain time. I would like to retry when the timeout expires, regardless if the url is valid or not.  

Labels