Oh no! The Community appears to be haunted! Help us find all the spooky specters here.
We are currently experiencing an issue with Email verification at this time and working towards a solution. Should you encounter this issue, please click on the "Send Verification Button" a second time and the request should go through. If the issue still persists for you, please email support@alteryx.com for assistance.

Alteryx Designer Discussions

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

Scheduled Workflow error

AnandKumar1
8 - Asteroid

My workflow is scheduled to run everyday at certain time. It picks only the latest files from directory and runs. What if someday my workflow failed and it did not run on that day.The next day run will skip that failed file and continue for the latest file. But i want the failed workflow to run again (i'l fix the error) and generate output and then go for next latest file. How do i fix this issue?

 

 

Note: The workflow takes only one file i.e the latest file, per run and generates output.

13 REPLIES 13
bharatandalam
8 - Asteroid

@AnandKumar1 

 

On Failure, what you want to achieve? do you want to run the workflow are just mark it as success?

 

can you share me the workflow snapshot to be of more help.

AnandKumar1
8 - Asteroid

If the workflow fails then we can resolve the issue from our end and then run the workflow again. I will use Email tool or event option to get mail on failure. In this way we will come to know when it failed and why.

My only concern is if its possible to move all the success files to one folder and incase of failure all the unprocessed files should be in same folder. 

Note: We are receiving user files into network drive not locally.

 

I've attached a snapshot of my workflow. Cant share entire workflow as it has company data. There is a macro to read multiple .txt from the network directory

bharatandalam
8 - Asteroid

@AnandKumar1 

 

Do you have a Download tool used in the Macro?

 

If yes then check the file using a filter tool then you can move that to SUCCESS or FAILURE flow.

AnandKumar1
8 - Asteroid

I just created a .bat file with move source target command in it and added this .bat file in event and it worked. We can use it in run command tool also.

 

Labels