Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Write output to excel only when workflow runs on friday

Deevi
8 - Asteroid

Hi,

 

I have a workflow where I only want to append data to existing excel file when DateTimeFormat (DateTimeToday(), "%A") = "Friday", otherwise I don't want to touch the file even if the workflow runs on weekdays other than friday. How do I do this?

 

Thanks in advance,

Deevi

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @Deevi I mocked up a workflow that shows how to do this let me know what you think?

RWvanLeeuwen
11 - Bolide

Hi @Deevi ,

 

I think that you will like using the Crew Conditional Runner macro.
http://www.chaosreignswithin.com/p/macros.html

Using the logic statement that you built, you can let that helper workflow with the conditional runner start the workflow you already have or not at all.

RWvanLeeuwen_0-1595254283906.png

 

Best, Roland

 

Infotopics - Benelux partner of the year

Empowering business through analytics.

See, Understand, Act!

Deevi
8 - Asteroid

@JosephSerpis Thanks, works great when I have to append data, will something similar work for Overwrite Sheet (Drop) method ?

 

@RWvanLeeuwen Thanks!! I am not sure if I can download external macros, I will check first and then try this method!

JosephSerpis
17 - Castor
17 - Castor

Hi @Deevi Overwrite Sheet (Drop) will as its says will overwrite a the sheet and erase any previous data. If you want to append data using that method you would need to ensure you brought in the data from existing excel into the workflow and output it with any new data.

Labels