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.

How To Load Alteryx Error Into Table

shashank_shukla
8 - Asteroid

Hi All,

 

Good Evening,

 

Use Case:-

I have Alteryx Workflows scheduled on Alteryx Gallery which will run on Daily and weekly basis respectively.

If my workflow gets failed then the error code and message has to be store in Redshift table with System date and the table will be drop and create.

 

Kindly let me know the steps which is required to complete this scenario.

If possible kindly share the sample workflow as well.

 

Thanks & Regards,

Shashank R. Shukla

 

1 REPLY 1
MatthiasSeil
Alteryx Alumni (Retired)

Hi Shashank,

 

First of all the Logging of the Engine(s) needs to be activated if not already done yet. This needs to be done via the Server instance admin.

Here are more details about this:

https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-To-Attach-Server-Log-Files/ta-p/6...

 

You should then set the workflow not to write data whenever an error is occurring:

MatthiasSeil_0-1624286908479.png

 

For parsing the log files you need to create a separate workflow which parses the log files from the folder and writes to Redshift. Also here access to the Server instance/log folder is key.

 

The log parser macro from the Crew Macro pack may be of help here: 

http://www.chaosreignswithin.com/

 

Or this App here could be of value for you as well:
https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-To-Obtain-Logs-the-Easy-Way/ta-p/...

 

 

Kind regards

 

Matthias

 

Labels
Top Solution Authors