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

Alteryx Designer Desktop Discussions

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

how to schedule REST call on local with updated start and end time REST parameter

dsingh
5 - Atom

https://REST API URL?startTime=2020/04/27T17:00:00Z&endTime=2020/04/27T17:15:00Z,

 

How on local machine i can schedule this REST call every 15 mins with below updated start and end time parameter , kindly suggest.

 

https://REST API URL?startTime=2020/04/27T17:16:00Z&endTime=2020/04/27T17:30:00Z,

 

5 REPLIES 5
DavidP
17 - Castor
17 - Castor

This is how you can build the API call to be dynamic, but in order to schedule the workflow to run every 15 minutes, you need a desktop scheduler licence.

 

I've made some assumptions:

 

Use DatetimeNow() as the end time and 90 minutes earlier as the start time.

 

You can play around with the formulas if you want something different.

 

DavidP_0-1588024554248.png

 

 

 

dsingh
5 - Atom

Thanks for sharing this, i will try on this and will provide you feedback.

danilang
19 - Altair
19 - Altair

Hi @dsingh 

Any news on this?  If @DavidP's answer works or is a good start at getting you the results, please consider accepting it as a solution

Learn more about Accepted Solutions here,

Thanks

Dan

dsingh
5 - Atom

Sorry reply little late but solution given worked for me after few changes as per requirement

danilang
19 - Altair
19 - Altair

Hi @dsingh

As a leader in the Alteryx Community, I have the ability to identify & mark accepted solutions on behalf of community members - and recently did so on this thread. If you have any questions or concerns with the solution(s) I selected please let me know by replying to this post.

Learn more about Accepted Solutions here.

 

I accepted @DavidP's response since he actually solved the problem.  Can you un-accept the solution that you marked on my other response when you get  a chance? 


Thank you!

Dan

Labels
Top Solution Authors