Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

Scheduling a Workflow on Disk: How to Fix the "Corrupted" Error Message

JohnGD
Alteryx
Alteryx
Created

This article is an extension to the community article "Scheduling as a copy in the Scheduler DB vs On Disk", and is specifically aimed for Designer + Desktop Automation installations only.

 

Problem

 

Whenever I schedule a workflow to run on disk, it executes and finishes with status "Corrupted".

 

 

1.png

 

 

Solution

 

A few things to check first:

  • Is the workflow trying to access any remote resources?
  • Is the workflow stored remotely?
  • Is this remote location accessed through a mapped drive?

 

If you responded yes to at least one of these questions, you should make sure all paths (opening/saving workflows, referencing resources…) are UNC.

 

2.png

 

If you have mapped network drives but don't know the corresponding UNC, you can run the following command in a command prompt (Start > Run > cmd.exe) to list your mapped drives and their UNC paths:

 

net use

 

If the issue persists after changing the paths to UNC, the next thing to check is your service account settings. When a workflow is scheduled on Disk, by default the Alteryx Service uses the local system account (explained here) to do the following:

 

  • Access the remote location for resources using the Local System Account
  • Read/write the data from/to the remote location.

 

If the local system account does not have permission to perform either of these processes, the scheduled workflow will fail. 

 

Solving this issue involves setting a different account under which the Alteryx Service will execute the workflows:

 

  • In Services > right click on Alteryx Service > Properties

 3.png

  

  • On the new window, go to the "Log On" tab and select "This account" to set the account with the appropriate permissions. For more information on “Run As” account permissions please refer to the following Link Set Required Run As User Permissions.

 

 4.png

  

  • Restart the service

 

This should resolve the Corrupted error message for your scheduled workflow. If it doesn't, please reach out to support through support@alteryx.com.

 

Comments
LisaL
Alteryx
Alteryx

For savvy users, this is probably obvious, but drive mappings are specific to the user account, so if you type 'net use' from the wrong directory, you might not get the information you expect:The path mattersThe path matters

LisaL
Alteryx
Alteryx

Selecting the UNC path can be a bit counterintuitive, but if you are going to "Run the workflow from its original location on disk" it's imperative that you actually load the file from the UNC path before you schedule it.  If the location shows as a mapped letter path, it won't work when scheduled.

Note two different paths to the exact same workflow.Note two different paths to the exact same workflow.If Run "on disk" verify the Location is UNC.If Run "on disk" verify the Location is UNC.