Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
The Expert Exam is now live online! Read about the specifics and what it took to bring it to life in the blog by our very own Elizabeth Bonnell!
SOLVED

Logging workflow metadata after run to Database

Highlighted
6 - Meteoroid

Hi All!

 

I have a use case where we need to log every run of a workflow as a new row in a database table.  Basically we need to output various elements of the results window into a SQL Server DB.  Such as, rows inserted/update, length of workflow run, rows queried, source db/file path, etc.

 

I can't imagine I am the only one who has come up against this...just looking to see if anyone out there has solved it.

 

Thanks!

Highlighted
12 - Quasar

We have been wanting to do the same thing.  Haven't gotten around to it yet.

I've previously done some searching and read through quite a few related posts on this message board.  See list below.

 

A few of my favorite posts:

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Capture-runtime-and-workflow-status/td...

https://community.alteryx.com/t5/Alteryx-Designer/Reusing-reserved-variables-outside-Alteryx/td-p/18...

 

 

Other related posts:

https://community.alteryx.com/t5/Setup-Configuration/Log-File-Location-and-Variables/m-p/80884/highl...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-export-messages-from-the-result...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Automatically-create-report-of-operati...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Creating-Error-Log-for-Export/m-p/3289...

https://community.alteryx.com/t5/Alteryx-Use-Cases/Analyze-Alteryx-Log-Files/ta-p/61742

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-export-messages-from-the-result...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Log-File-Location-and-Variables/m-p/80...

https://community.alteryx.com/t5/Setup-Configuration/Log-File-Location-and-Variables/m-p/80884/highl...

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Save-workflow-messages-log-in-database...

https://community.alteryx.com/t5/Alteryx-Designer-Ideas/Improve-Log-files-for-simpler-parsing/idi-p/...

 

To improve debugging, use the List Runner tool in combination with
the Log Parser tool. The Log Parser tool will parse the log into an Alteryx
data table. The table will indicate not only the specific module, but
also the tool ID and its related description at the source of the error. 

 

 

Chris

Highlighted
6 - Meteoroid

Thanks Chris!  Much appreciated!

 

I'm still curious why being able to write out logging data isn't out of the box capability.  Seems like simple value add functionality.

 

Adam

Highlighted
12 - Quasar

Agreed.  The last link is an Idea, waiting for a few more upvotes.

Labels