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

Alteryx designer Discussions

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

Catch Error Result from Run Command

Atom

I'm attempting to use Robocopy via the Run Command tool to archive some files, however, I'm having trouble with the return result from this command.  Robocopy will return a result code when complete, such as 3 "Some files were copied. Additional files were present. No failure was encountered." which isn't actually an error, but the tool is failing as if this was a fatal error.  Is there a way catch this error or treat it as a warning only?  Would be fine suppressing it too, but having trouble accomplishing that.  Thanks for the help.  See my tool config below.

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner
If you're confident, you can use a command of:

exit /b 0

If you run a batch script, this will return 0 all of the time.

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Labels