Alteryx Designer Desktop Discussions

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

Catch Error Result from Run Command

mnorris
6 - Meteoroid

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.

 

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus
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 restart. Order shall return.
Please Subscribe to my youTube channel.
Labels