Application Development

Dave Slusher

4 minute read

As we discuss the new features of New York, it is only natural I should discuss first one of my great loves in the platform - the Automated Test Framework. Every release since it was introduced expands the capabilities of this tool and New York is no exception. Here are the highlights but the full list is here. Parallel Testing and Mutually Exclusive Tests In previous releases, ATF ran effectively a single thread of testing.

Andrew Barnes

4 minute read

It is ServiceNow new release season! With the New York release in Early Access, we will cover some of the features newly available to application developers. In this post, I will discuss some of the new features and enhancements in Flow Designer. Two of the features were included in the last Live Code Happy Hour show on July 26th. Inline Script One of the features I am most excited about in Flow Designer is Inline Scripting.

Andrew Barnes

5 minute read

What is GlideAggregate Earlier this year, the blog visited the topic of GlideRecord. I shall set my sites on the friend and close relative to GlideRecord, GlideAggregate. GlideAggregate is an extension of GlideRecord. It provides the capability to do aggregation (COUNT, SUM, MIN, MAX, AVG). These operations can be done with regular GlideRecord use, but with GlideAggregate, they are optimized around these use cases and offer significant efficiencies. Let’s look at an example GlideAggregate setup.

Dave Slusher

5 minute read

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:

Andrew Barnes

2 minute read

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.

Andrew Barnes

6 minute read

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.

Dave Slusher

4 minute read

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.

Andrew Barnes

1 minute read

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.

Andrew Barnes

3 minute read

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.

Dave Slusher

9 minute read

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.