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

Batch Macro?

jnrobin
5 - Atom

I am trying to run a workflow with multiple inputs that are from shared files. Every time I run the workflow and someone else has the file open I get the error "the process can not access the file because it is being used by another process". I need to be able to run my workflows and have the documents open at the same time, is there a way around this.

 

Thanks!

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus

@jnrobin,

 

One thought would be to password protect your files and lock your co-workers out.  A more drastic measure might be to make them by doughnuts everytime they hold you up from doing your work.  A last resort is available, but I wonder if they have the data files open if they might be messing around with your data.

 

You can use a run command tool and copy the dataset(s) to another directory.  Even if they have an Excel file open, the copy command will work.  If you have many files, you can script them for copy and create your own private instance of the data.

 

Just a thought or two or three...

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
jnrobin
5 - Atom

Thanks! Could you go into a little more detail about how I would do this with the run command?

JeradR
Alteryx
Alteryx

Hi @jnrobin.  I believe the attached demonstrates what @MarqueeCrew is suggesting.  The Run Command tool runs a batch script that copies and Excel file from a source to a destination.  After running the script the Run Command reads the copied Excel file as input.

Labels