One of the unsung features in the Automated Test Framework is that you can use it to test your Scripted REST APIs. I’m a fan of having as much robotic coverage as possible, so backstopping API development with tests is a good thing. Let’s look at how to do that. I will use an example of a relatively recent API that I developed, the commenting system on this very blog. I’ll create a test that:
Application Development
It is with joy and regret that Knowledge19 is over. Thousands of attendees, partners, and staff descended upon Las Vegas to attend the hundreds of breakouts, labs, and workshops. I am going to share a few of my thoughts about the event. CreatorCon The CreatorCon events are at the core of what we do here on the developer site. I mostly was only able to see the activities in which I was presenting.
Guide to Knowledge So, Knowledge conference. Having attended five prior events and leveraging the help and aid of those with even more experience, I will offer tips for getting the most out of the event. Fifteen conferences have come before. 2019 will be held in Las Vegas, Nevada with nearly 18,000 in attendance. CreatorCon which is in its 4th year will have 6,000 developers. This conference inside the conference will be a large part of any developers experience at the event.
During our flurry of posts about Madrid features, I posted about some of the changes to Automated Test Framework . There were a few pieces that I didn’t mention so I am going to round that out over time, starting with testable components. Speaking personally, ATF is one of my favorite new development tools of the last three years. What can I say, I love having robots working for me.
Store Releases ServiceNow will now be releasing spokes when they are ready. No longer waiting until the next family release for all feature updates. The first batch of these spokes was released into the wild in early March. While this isn’t a deep dive technical post, it is very relevant to previous and future posts. For example our post and videos about JWT signing Part 1 and Part 2.
Conditions Conditions live in quite a few places in our lives as developers. In ServiceNow, they play an important role not just in our code, but also spread throughout the Graphical Interfaces in the no/low code components. The condition builder has flexibility and some common pitfalls that we are going to explore in this article.
The condition builder starts with a field, an operator, and the operator’s inputs. Which operator and the types and numbers of inputs depend on the field type being selected.
One of the many exciting features of the Madrid release is that inclusion of JWT (JSON Web Tokens) as a supported authentication type. Before this feature, I had been working with very limited success to help a Box user integrate with ServiceNow via JWT. JWT are non-trivial to construct and require access to cryptographic tools, so having them in the platform is a big step up. I’m going to walk through the steps I took to get an integration working with Box.
Offline for Mobile As promised we will cover more of the Madrid mobile features. Today we will look at the ability to configure and use offline abilities in the new mobile application. Offline on mobile devices opens up the locations and types of applications that can be deployed to your workforce. The offline mode must be installed by ServiceNow, which means you need to use HI to request the plugin for customer instances.
As we continue our lightning tour of new developer-facing features of the Madrid release, we touch on some that are not net-new but include relevant changes. Today’s post is one of these. The London release featured the first release of Flow Designer APIs that allowed for invoking Flows via JavaScript APIs. That capability has been beefed up in Madrid and we’ll look at that. Server-Side Flow APIs The London release had two APIs, startAsync for Flows and SubFlows.
Virtual Agent The spotlight for today is Virtual Agent which was introduced in London. The developer blog has a previous post Virtual Agent (London) to get you familiar with the product so check it out first before you read on about the new changes in Madrid. On to the changes we go! Condition builder One of the first and notable changes is the addition of the condition builder to many of the activities.