Showing results for 
Search instead for 
Did you mean: 

Pondering Automation: To Err is Human, to Code Around it Divine

Shaun Roberts
Cisco Employee

Howdy out there in Automation Land! As the end of the year draws to a close we find ourselves mired in football, turkey, family gatherings, and so much more. What a wonderful time of the year to recharge ourselves and well, of course, do some automation :) . Today I wanted to have a quick chat about error handling and how I have accomplished that in CPO throughout my development time. This is nothing ground breaking but more insight into how I do some things and what has been successful for me. In particular we will look at a couple of triggers and "funneling" systems which allow us to direct all process/program errors into a single space and then report them back to the admin/end users.


First off.. your processes will FAIL. It's just a truth. Nothing in automation or code is fool-proof and nothing works 100% of the time. But we do our best. So we must put proper error handling and checking in our code. Sometimes we will get bad data. Sometimes we will find new use-cases or use-cases that were not given to us in full during development. Sometimes our code is just flat out bad. It's all ok. Why? Because with proper error handling we can see those things and then fix them! Not to drone on too long, I want you to watch and enjoy the sub 25 minute video blog and see if it can help you with your error handling. Have a wonderful rest of your year and come back in 2015 ready to see some more awesome automation things!





Shaun's Monthly Q/A


No questions this month! Hopefully we'll get some in to answer for next time!



Every month I will pick a handful of questions from you, the reading CPO public, to answer in this part of the blog. Please post comments/questions below. I will no longer be using the external e-mail from previous blogs.


Please also let me know if you like the format of this blog and what else you would like to see/know about. Feel free to give any ideas as to future blog posts, etc and I will be happy to post them. I hope to  do more how-tos, best practices, tips, tricks, and hopefully some interviews of the important people behind the scenes of CPO.



WEEKLY AUTOMATION BLOG DISCLAIMER: As always, this is a blog and my (Shaun Roberts) thoughts on CPO, my thoughts on best practices, and my experiences with the product and customers. The above views are in  no way representative of Cisco or any of it's partners, etc. None  of these views, etc are supported and this is not a place to find standard product support. If you need standard product support  please do so via the current call in numbers on or email



Thanks to all for reading and happy automating!



-Shaun Roberts

Content for Community-Ad