community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Run Container workflow by condition

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

 

Alteryx
Alteryx

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.

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

 

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

 

Thanks

Vinay

 

Highlighted
Asteroid

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

Labels