Knowledge 18 – A Look Back

Last year, I was privileged to attend and present at ServiceNow’s Knowledge 17 conference and was definitely looking forward to another opportunity.  Luckily, someone was asleep at wheel when screening presenters as I was invited back!

This was my first time presenting all on my own at Knowledge.  It’s a bit intimidating but also very rewarding.  If you’re interested in presenting, ServiceNow submits an open request for presenters leading up to the conference.  Some of the things to consider when building your presentation are as follows:

  • What will the attendees learn and why will they care?
  • What are the problems you faced?
  • What was the objective?
  • What was the solution?  How long did it take?
  • What did you learn?
As is common to conferences, there will be a keynote presentation to set the tone and share the overall theme.  This year brought a renewed focus on the user experience within the platform and not doing tech for tech’s sake.   Many promises of new features as well as a road map for our next six major releases.
 
Of course, we need to hit the ground running on our first day.  This had to be one of my favorite sessions and one of the most challenging.  The presenters took the hands-on experience of the workshop to the next level by having each of our instances visible from the stage as we walked through simulations of events and alerts.
 
Another very enlightening session walking attendees through creation of a custom CI Class and then building Discovery criteria to identify nodes fitting this new class and merging it into our CMDB.  A great primer for those of us who do any work in Service Mapping
 
This was a fun one focused on reimplementing ad-hoc Powershell and SSH activities in the Workflow Engine.  For anyone who does much scripting in Microsoft environments, having the ability to integrate your existing scripts into Orchestration activities is invaluable.
 
This keynote brought more substance to the promises of the first day’s session.  Much emphasis was placed on new mobile and user specific features as well as interpretation of user needs and virtualization of first responder sessions using AI and bots.  Some of the skits were a bit corny and stilted but the message was clear.  People shouldn’t dislike or be frustrated by their work tools.
 
This was a fun tutorial on one of my favorite tool sets for the platform.  Seriously, if you’re a ServiceNow developer, you should be using Xplore like yesterday.  Great inline tools that give an intelligent code completion feel to the global libraries available on the platform and might help you learn about a few things you weren’t even aware of.
 
This guy was a complete jerk and never should be allowed to present ever again…
 
…But seriously.. thanks to all who attended for asking great questions and making this a great experience for me.  It’s very rewarding to see this experiment through additional points of view.  I hope you got as much out of it as I did.
 
This was my only breakout session since I tend to favor the hands-on workshops.  Still, some great improvements are being promised for Discovery and Service Mapping to make it less opaque and more accessible to the layperson.  If you want to get the full value of an IT implementation of ServiceNow, something as fundamental as node discovery and aggregation should be as basic and straightforward as practical.
 
Using Event Management to Monitor Your ServiceNow Instance Health
This was a fun little session that introduced us to a front-to-back implementation of Event Management as it applies to monitoring the ServiceNow environment itself.  Might seem like a Catch-22 to have the watchman watch itself, but it’s honestly a scenario that gets overlooked when you think about critical applications and monitoring their health and availability.
 
Another fun hands-on experience, this time integrating event monitoring to an AWS environment.  This also covered the idea of anomalies and other ‘odd behavior’ on monitored nodes and the ability to configure monitoring thresholds based on deviations from a baseline instead of express limits.
 
Summary
This was a much shorter conference for me as I chose not to attend pre-conference training.  Still, those three days were filled with the requisite fire hose of information as well as meeting a few old friends and making a few new ones.  Can’t wait for next year!
 
I’d love to hear any feedback on this post, especially if you attended Knowledge 18 and would like to discuss your own experiences.  As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Quick Update – Knowledge 18

After having a great experience at ServiceNow’s global conference last year, I’ve made it a point to keep it on my radar.  I’m happy to announce that not only will I be attending again this year, but I’ll also be hosting my own presentation!

The session is entitled Integrating Service Portal With Amazon Lex and it’s based on a demonstration of Amazon Lex I attended with a local developer community in Wichita followed by some tinkering on my own time.  The result is an open source application which can be plugged in to an instance of ServiceNow with minimal effort.  Considering the ongoing move towards hosted solutions, this is something I hope implementers of ServiceNow will find useful.

If you happen to be attending Knowledge 18 and have an interest in AWS or integrations in general, I’d love to see you there!

As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

 

Keeping Current

If you dislike change, you’re going to dislike irrelevance even more. – Gen. Eric Shinseki

One of the more common dilemmas in our trade is knowing what to focus on. It’s easy to get lost in the day to day and forget about the big picture of our careers and staying relevant in a constantly shifting landscape. No matter if you’re just starting out, or if you’ve been in the trade for a while, it’s important to always stop for a moment and ensure your actions line up with your overall career strategy.

It’s almost cliched for those just starting out to ask ‘What language should I learn?’ New developers want to ensure that what they’re learning is relevant and they aren’t wasting their time. This is a perfectly valid concern. However, I’m going put on my Mr. Miyagi hat and claim that the meta-knowledge you’re gaining while practicing is more important than the language you’re learning it in. Knowing how to break a larger problem down into smaller problems that code can solve is language agnostic. So is aggregating those smaller solutions into an overall design. Even better is learning how to troubleshoot and test your solutions before bringing them into production. Anticipate your customer’s needs, expect resistance and learn to persevere. All of this is more important than learning what’s hot and sexy.

For those of us that have been building and solving for a while, keeping relevant and sharpening the saw can become easy to neglect.  It’s hard to take a step back from project work with its pressures and deadlines to invest in some new knowledge.  If you’re fortunate, your employer will check in with you on training and goals within their organization.  If you’re not (or possibly self or unemployed), then it will fall upon you to invest in yourself regularly.  This must be done deliberately and in sufficient frequency to ensure you’re continuing to grow in your trade.  Some ideas to spend this effort might be to earn a certification, learn a new development paradigm or maybe even start a blog.

If after this, you’re still curious about what’s in demand, a resource I check every so often is the TIOBE Index.  The intent of this index is to cast a wide net over what code is being used in the wild and what people are releasing as far as learning courses and other content.   It’s not intended to make recommendations, but only to offer data or a heat map of ‘what’s out there?’  While rankings like these are about as scientific and individually predictive as measuring your BMI, it’s important to take them into account for the same reason.  Meaning, opinion makers, customers and potential employers pay attention to them.  Also, indexes that focus on language alone fail to account for higher level disciplines like testing and design.  As a ServiceNow specialist, most of my actual coding is done in Javascript, but that’s not necessarily where I’m adding most of my value to customers.  So, take the the popularity (and fads) of individual languages with a grain of salt when deciding what’s relevant to YOU.

So, what do I think is most relevant today?  Relevant in the next 5 years? 10?

As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Typos and Booleans and Mentoring – Oh my!

“Booleans are programmer’s original ‘fuck you’ to the English language.” – Me

It’s official, I’ve jumped the shark by quoting myself.  I’ll see myself out now..

Lately, I’ve had some flattering experiences lately with peers and aspiring programmers actually asking for my opinion.  Quite honestly, this is the one thing I find more rewarding than finding my own solutions to things.  Lending a little bit of confidence to someone experiencing some ‘analysis paralysis’ can help them get off the dime and act.

One story I like to tell quite often is about my son.  He was having trouble with some spelling homework that had a certain number of errors for him to find.  He’d found all but one and was getting extremely frustrated and emotional.  I helped him look it over and noticed the error and let him know that there was still one to find and that he wasn’t wasting his time.  It took him a bit longer, but he figured it out.   The fun part was telling him afterwards, “Dude, finding typos is like 95% of my job”

“Yes, you do.  You’ve just used a double negative” – Maurice Moss regarding education

Sanity checking isn’t just for syntax and booleans are my fucking nemesis.  When you get deep down into code that is essentially just counting polarity reversals, it’s easy to get lost.  I’ve got a friend going through some professional retraining and getting a bit flustered on some boolean puzzles for class.  Again, this is one of those situations where a second pair of eyes and some reassurance can provide that little bit of confidence to push forward.

“You actually watch that show?” – James Van Der Beek regarding Dawson’s Creek

When I started this blog, it was largely an experiment to dabble in some new technologies and try and share some of that dabbling with whoever cared to notice.  Actually getting feedback on my articles is flattering enough, but recently I had a peer share an interest in starting a professional blog in part due to being inspired by mine.  I got into development because I like building things that people use, but this had to be one of the most rewarding outcomes of the past couple of years of blogging.

“Every time I say ‘No.'” – Captain Sheridan on winning

As cliched as they are, movie/television quotes are kind of my thing.  Mental models (see: analogies) are great for encapsulating a dry and complicated situation into something relatable.  You can do this through anecdotes in your own experience or by referring to something common between you and your audience.  It works!

As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

So… I wrote a book…

Astinus

“I trotted down the street to my friend and mentor Paul Rink and told him the triumphant news. ‘Good for you,’ he said without looking up. ‘Start the next one tomorrow.'” – Steven Pressfield

In a recent post, I mentioned that I was working on a ‘major writing project,’ which I’m proud to say is finally complete.  It’s official.  As of this week, I am a published author!

A few months ago, I was approached by the folks over at Packt Publishing to update their ServiceNow Cookbook to a current edition.  Having always wanted to write a book, I jumped at the chance.

For those of you who haven’t used one, a technical cookbook is intended to be used much like a culinary cookbook.  This means you should be able to use it as a general reference and jump around between ‘recipes’ to complete specific tasks in the relevant language or framework.  While this book follows this format in general, there are some chapters that have an overarching progression in building up a specific feature.

You can pre-order the ServiceNow Cookbook or purchase a subscription to access the content at the following links.  Hope you enjoy it!

Packt Publishing

Amazon

As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Reading Summary – 2017

reading

“Always read something that will make you look good if you die in the middle of it.” – P.J. O’Rourke

Last year, I’d hoped I’d be able to double my reading list of 2016. Looks like I’ve managed to do that this year by purposefully setting aside time every day for reasing. I’m hoping to continue the trend but doubt I’ll see as much of an increase quantity-wise. One thing I did notice was a distinct increase in the number of fiction books. Here’s to choosing quality over quantity in the coming year.

Caliban’s War – Book 2 of The Expanse.  Neatly folds in the ground broken during the first book while keeping the overall arc of humanity on a plausible arc.

The Alchemist – My sister gifted me a personalized copy of this book, citing it as one of her favorites.  I’m going to agree that I believe the hype.  The book focuses on helping each of us discover our own ‘Personal Legend’  Basically a reminder to be what you must be.

The Phoenix Project – While technically a novel, it’s meant to be a case study in breaking down established paradigms in systems and making meaningful improvements.  Adds some people focused drama but still demonstrates real world examples of constraints.

Don’t Be A Jerk – An in-depth annotation of a book I’ve never read. While there was some humor, most of the meaning was opaque to me. If I ever read Shobogenzo, perhaps I’ll come back to this one.

Abbadon’s Gate – Book 3 of The Expanse. Continues to builds on the previous story while raising the scope and the stakes.

The Daily Stoic –  The Stoic version of a daily affirmations book.  I wouldn’t recommend going into this one expecting to read it cover to cover.  It’s better to read each daily entry and let the ideas breathe throughout the day.  I’ll be repeating the process this year.

Tinker Tailor Soldier Spy – I really wanted to like this book after seeing the movie. The language and pacing is dense and subtle with some teases and payoffs to keep the reader engaged. However, it’s not my definition of a page turner and I doubt I’ll be finishing the series

Rome, Inc – A humorous tongue-in-cheek recount of the rise and fall of Rome in the context of modern corporate culture

Lucifer – Book 1 – As I’ve stated before, I’m a big fan of Neil Gaiman. This is a spin-off of his masterpiece Sandman series that follows The Devil Himself post-retirement from his duties in Hell. Good read so far and I will be continuing the series.

Cibola Burn – Book 4 of The Expanse. Presents common human issues against hard proof of alien civilizations within the familiar setting of a frontier land rush.

The Handmaid’s Tale – A harrowing vision of what a Christian Theocracy might look like. Almost as if you took today’s puritanical tendencies, turned them up to 11, and gave them the force of law.

The Complete Software Developers Guide – Intended to be a reference guide for developers as opposed to be read cover to cover (although you certainly can). A great resource with great ideas for people looking to take the next step in their careers or even start down a new path

Rome’s Last Citizen – A biography of Cato the Younger, Stoic paragon and bitter enemy of Julius Caesar. Cato’s myth is cited as a catalyst for Rome’s adoption of Christianity as well as inspiration for the concepts of individual liberty and natural rights.

Snow Crash – A classic of the cyberpunk genre, being a delightful product of the optimism and futurism brought on by the inception of the World Wide Web. At once familiar reflection and alien satire of our ever accelerating culture.

Genghis Khan and the Making of the Modern World – Most Western education about the Mongol Empire depicts them as savage barbarians who pillaged and enslaved millions. While these depictions are largely true, they leave out the disruptive and transformative impact of the Mongol expansion and their legacy.

Nemesis Games – Book 5 of The Expanse. This is a return to form for this series as a page turner. Also, rather than investing in new characters, the author takes time to flesh out existing ones. Can’t wait to read more!

Blood of Elves – The first of The Witcher novels. I really wanted to like this one and it was great to see familiar characters and a bit of the lore that spawned the game series. However, the book violates the ‘Show, Don’t Tell’ principle for about 80-90% of it with lots of shouty dialog where you’re not quite sure who’s speaking or what they’re talking about and little to no action.

I’d love to hear any feedback on this list and invite you to share your own reviews or recommendations.  As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

On Death, Jumanji and Baader-Meinhof

“You get what anyone gets – You get a lifetime.” – Death – “The Sandman

Before I make you Google again, the Baader-Meinhof phenomenon is somewhat similar to a deja vu.  Except, instead of your brain tricking you into thinking you’d been somewhere before, it makes you aware of things that were always around you but you might not have noticed.  It’s something I enjoy pointing out to friends and family.

It’s a truism that people who work with machines (and the instructions that drive them) are a superstitious lot that tend to personify our creations.  Having muttered incantations and curses to no one in particular while chasing yet another bug, I’m no exception.  As such, I like to embrace these superstitions and the cool moments that follow from them.

This little experience started with a trip to see Jumanji (the remake/reboot) this past weekend.  Really fun movie and I do recommend it.  There’s an interesting message scene where the characters compare having a limited number of lives within the game world to the fact that we ‘really only have one life’ and the responsibility to spend it wisely.   This is something awfully deep for a recycled movie where the leads spend a lot of their time making dick jokes (literally).

Queue the next day where I’m idly citing the perky goth trope and am reminded immediately of Death of The Endless and her oft repeated benediction, cited above.  This character comes from a series frequently labelled as a masterpiece which has spawned entire universes from its base material.   It’s fascinating that one of its themes shared common space with a completely unrelated movie, at least in my head.

What does any of this mean?  Not much.  Just the mind making correlations where none really exist.  Still, I enjoy the small thrill of making these arbitrary connections where none were probably intended.  It’s not like anyone owns the idea of wise living or wasting time.  But it is a fun realization to feel both common and special in the same breath, with all of your decisions, experiences and time reduced to a single unit.

As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Happy 2018!

“Do you seriously think I’d explain my master stroke if there remained the slightest chance of you affecting its outcome? I did it thirty-five minutes ago.” – Adrian Veidt as Ozymandias

Not to disparage New Years posts, but it’s almost cliched how they’re all about renewal and hope for the upcoming year. When I made up my mind on what I was going to pursue this year, I made a commitment to get started immediately rather than wait until January 1st. Needless to say, I started a couple of weeks ago.

I’m sure my throngs of readers are distraught that I haven’t posted in a while. (Please be distraught!) The truth is, I’ve been working on a major writing project that’s taken up most of my spare cycles. It should release around March of this year, after which I’ll be back to boring the shit out of you on a more frequent basis.

As far as resolutions go, here’s where I’m at for this coming year:

  • Exercise Every Day
  • Write Every Day
  • Code every day

In that order 🙂 I’m proud to say I’ve stuck with this over the past couple of weeks and plan to continue throughout the year.

I invite all of you to share your own resolutions or plans for the coming year.  As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Thanks for looking in!

AWS Certified Developer – Wrap Up



“I hear you’ve got a saying: ‘Understanding is a three-edged sword.’ Well, we’ve got a saying too: ‘Put your money where your mouth is.'” – John Sheridan

Over the past few months, I’ve been taking prep courses and otherwise studying for the AWS Certified Developer exam.  The goal that I originally set was to have this finished by the end of summer.  While I’m a couple of weeks late, I’m proud to say that I passed!

I want to give an endorsement of A Cloud Guru’s coursework and practice exams in being crucial to my preparation and practice leading up to the exam.  While certifications are meant to essentially ratify existing knowledge, taking a timed and closed book exam can be very daunting for those of us who can generally check our phones if we’re not sure of specs or limits off the top of our head.

So, what’s next?  I’m not really sure other that to say that AWS and other cloud framework knowledge fits very well into the ServiceNow space with offerings like Discovery and Orchestration.  If there’s continued benefit from gaining knowledge in this space, then I’ll probably dive a little deeper.

Thanks to all for your support and encouragement during this journey.I invite you to share your own experiences and opinions on AWS certification or certifications in general.  As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Thanks for looking in!

Resources:

Integrating Amazon Lex with ServiceNow

In a recent post, I covered creating chatbots in AWS Lex and created a simple bot for ordering jellybeans.  As promised, I took my bot and integrated it into a custom page in ServiceNow’s Service Portal.  While I’ve worked on several integrations in this space before, this was my first time integrating an AWS service into ServiceNow.

In order to integrate Lex, I needed to provision the following:

  • A ServiceNow instance (Helsinki or later)
  • An AWS Account with a Lex Bot (Created during my previous experiment)
  • An AWS User with the AmazonLexRunBotsOnly policy assigned

With these components in place, it was time to decide on an architecture.  I needed a UI for users to chat with Lex, client-side code to handle the text and transact with Lex, and finally some server-side code to initialize parameters for the service layer that are stored in system properties.

For the UI, I created a new Portal, Page and Widget to host all of the above.   The Javascript SDK for AWS is included via a CDN link.  I would have preferred to keep this piece server side, but the current offerings for the SDK are limited to either client-side or server-side with Node.js, which isn’t available for now.

What was critical to keep server side were the application credentials for the service account itself.  There are several properties that must be gathered from your AWS configuration and added as system properties in the ServiceNow platform.

With all this in place, it was time to test!  First by sending a message to Lex to invoke the Intent for ordering a jelly bean:

Then to follow the same flow of the Intent, telling the bot what flavor I want:

And finally confirm my order:

Depending on how you’ve configured your bot, you can either have Lex return parameters to ServiceNow or to pass them forward to an AWS Lambda or other endpoint.  It’s easy to see the potential here for using Lex to drive another entry point for your Service Catalog or even things like Orchestration.

If you’d like to take a look at the app, I’ve got it on my GitHub here.  I’m interested in any feedback you have as well as anything to share on ServiceNow app development or AWS Lex.  As always, if you have any questions or comments, please feel free to add them here or address them to john@benedettitech.com.

Thanks for looking in!