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

Run Container workflow by condition

vinaynarantesco
5 - Atom

Dear all,

 

I have two individual container with work flow.

 

I want Something like if I click on Run workflow then…

 

  • First Container should run
  • Second container run only if Today is “Monday”.

 

In short run workflow/container conditionally.

Is that possible?

 

Thanks

Vinay

 

4 REPLIES 4
JoeS
Alteryx Alumni (Retired)

Hi @vinaynarantesco

 

I think the easiest way to achieve this would be to incorporate them within a macro.

 

You can then have a condition of "monday" to turn on/off the second container as needed.

Kaviyarasan_P
8 - Asteroid

It is possible...

 

Use below condition after the first container in the IF tool and second container connected to True anchor

 

DateTimeFormat(DateTimeToday(),'%A')!='Monday'

 

Eg

 

vinaynarantesco
5 - Atom

How Can I use Macro? Please can you give me example!!

 

Thanks

Vinay

 

Kaviyarasan_P
8 - Asteroid

Can you refer attached workflow for your reference and create for your workflow.

Labels
Top Solution Authors