Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

server API

deep_at_jll
7 - Meteor

hi champions

creating a w/f which will add workflow in job queue on gallery with server API tool and then fetching the details about that job is run successfully or not with another server API tool, i m bit confused about the configuration of both server API tool. i know how to configure server API tool but need your guidance in placing and creating a loop with 2nd server API tool. 

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hi @deep_at_jll ,

 

You can create an iterative macro that will iteratively check the job status. This macro will receive the jobID and keep running until it gets a status = success/done.

 

Here is more about iterative macros:

https://knowledge.alteryx.com/index/s/article/Getting-Started-with-Iterative-Macros-1583461640389

https://help.alteryx.com/20241/en/designer/apps-and-macros/macros/iterative-macro.html#iterative-mac...

 

Best,

Fernando Vizcaino

deep_at_jll
7 - Meteor

can u suggest, how to achieve it, any idea, resources are welcome.

thanks in advance

deep_at_jll
7 - Meteor

i configure server API tool to post job in execution queue and its running fine, after this i can extract the job id and i will use another server api tool to get the status of a job, but after this how to make it iterative,