Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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
7 - Meteor

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
Top Solution Authors