Alteryx Designer Desktop Discussions

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

Input manually the date in alteryx

SH_94
11 - Bolide

Hi community,

 

I would like to ask what tool that we can use to input the date dynamically every time we run the workflow and appreciate if you coud share the workflow on how to do it.

 

For instance, i would like to input the date in the relevant option field every time before i run the alteryx workflow. Hence, i plan to build the option available like the available date below

 

Date option 

2023-02-28

2023-03-31

2023-04-30

2023-05-31

 

Thank you for the help.

4 REPLIES 4
ShankerV
17 - Castor

Hi @SH_94 

 

It can be achieved with the help of Date Interface tool or Drop Down tool also.

 

Dropdown tool:

 

ShankerV_0-1680625285487.png

 

ShankerV_1-1680625311489.png

 

Date tool

But if you date tool, it will give the user option to browse any date in the calendar.

ShankerV_2-1680625795430.png

 

ShankerV_3-1680625824960.png

 

Many thanks

Shanker V

 

OllieClarke
15 - Aurora
15 - Aurora

Hi @SH_94 

 

A couple of approaches here: Firstly if you just want the current date in your workflow, then you can make use of the DateTimeToday() function which outputs the current date. If you need time as well, then DateTimeStart() will give the timestamp of when the workflow began.

If however you want to input a date from choice, then you want to convert your workflow into an Analytic App and make use of the Date Interface Tool. I've attached a very simple example below:

OllieClarke_0-1680618228626.png

 

Hope that helps,

 

Ollie

 

gautiergodard
13 - Pulsar

hey @SH_94 

here are two ways to do this using a date picker or drop down list option:

gautiergodard_0-1680618394405.png

hope this helps!

 

kiyaraoufi
5 - Atom

Is there a way to create a batch macro that changes a date text input for a workflow that circles through a series of dates and writes an output for each date? 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels