Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Help with Macro/Alteryx API

craigja
10 - Fireball

Im trying to get a workflow that will get the details of all workflows on the server, who owns them, how many times have they been run, are they scheduled etc...  I created a workflow that called the API to get all this info but it only gets so far through then the authentication token expires (after 1 hr).  So I thought I would then create a little batch macro, pass in 10 workflow ID's a time and inside the macro I would get a fresh token, but I think its also timing out and I dont know why this would be!  Ive attached a screenshot of the macro, does it look ok?  I cant see what Im doing wrong, passing in 10 workflow ID's then getting a new authentication token

 

 

 

2 REPLIES 2
craigja
10 - Fireball

Ive just checked and the issue is as I suspected, even though the macro has a step to obtain an authentication token, its not getting a new one each time the macro runs, why is this?

craigja
10 - Fireball

Ive fixed it - I needed to run the macro as a batch macro to get it to request a new authentication token each time its called

Labels
Top Solution Authors