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

Alteryx designer Discussions

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

Stop the WF

In WF having Macro which is connected to multiple Dynamic Inputs.

 

In first dynamic input files checks the condition that date present in file is matching with the date selected from user and returns true or false.

If it returns false then it should stop the WF. Without reading the remaining dynamic inputs from the macro.

 

 

 

Thanks

 

 

Alteryx Certified Partner
Alteryx Certified Partner

Hi @sneha_bhiwagade1 

 

I think Message Tool could help you with this.

 

You can set up an expression to stop the Workflow and throw you a message with this tool.


Cheers,

Alteryx Partner

Hi @sneha_bhiwagade1 ,

 

connect the output of your macro (my input) to the message tool and configure it like this:

Untitled.png

This should do the trick!

 

Regards

Alteryx Partner

haha @Thableaus, I  was too slow typing my response!

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

@afv2688 

Like @EstherB47 mentioned in a post, great minds thinking alike!

 

Cheers,

 

 

Thanks for the Solution.

 

You are taking the Input Date directly from the text input tool and it works fine. But in my case I have to take the input date from the from the first Dynamic input tool connected to macro. If it results false then to stop the WF without reading other dynamic Inputs2 to dynamic Input5 from macro.

 

Stop WF.PNG

 

 

Thanks.

 

Alteryx Certified Partner
Alteryx Certified Partner

@sneha_bhiwagade1 

 

Use a Block Until Done Tool after your "Macro".

 

Put the 1st Dynamic Input in the 1 output of the Block Until Done and add a Message Tool to throw an error.

 

Cheers,

Labels