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

Don't write to file if workflow has error

Dennisklad1
8 - Asteroid

Hello,

how can we implement in an Alteryx Workflow something like transaction and rollbacks if the workflow contains errors. The problem is that we join results from multiple not so reliable API requests where sometimes one of them breaks and we would like to avoid writing to the excel file  

2 REPLIES 2
Luke_C
17 - Castor

Hi @Dennisklad1 

 

Would enabling the 'cancel running workflow on error' setting do the trick? Or do you require something a bit more nuanced?

 

Luke_C_0-1624891386785.png

 

 

MichaelSu
Alteryx Alumni (Retired)

@Dennisklad1 ,

 

Additionally, you can use the Message Tool in conjunction with @Luke_C  method above. The Message Tool will allow you to specify criteria that is / is not met and cause the workflow to error. It is a great means of performing validation checks.

 

MichaelSu_0-1624899412425.png

 

Labels