We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

How to Get Additional Error Logs for Batch Scripts

helpfultoaster
Alteryx
Alteryx
Created

How to Get Additional Error Logs for Batch Scripts


This article demonstrates how to implement a standard logging tool for Batch Scripts when run using Alteryx workflows, either via Run Command Tool or the Events section of Workflow Configuration Settings. This is primarily for troubleshooting purposes and can be removed if/when the script is operating as intended.
 

Prerequisites

 
  • Alteryx Designer
  • .bat file
 

Procedure

 
  1. Enter the path to the .bat file in the Command field as usual
  2. Enter " > testlog.txt 2> testerrors.txt" in the Command Arguments field
  3. Locate testlog.txt and/or testerrors.txt in your machine's default temp directory by entering %Temp% into File Explorer


<img src="https://community.alteryx.com/t5/image/serverpage/image-id/239816iF42AE1F39AC70ECA/image-size/origin..."/>
<img src="https://community.alteryx.com/t5/image/serverpage/image-id/239817i6996FCB0E323C135/image-size/origin..."/>

 

Additional Resources

Comments
JPKribs
5 - Atom

Thanks for the insight into this troubleshooting!