Flow Designer

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.

Dave Slusher

3 minute read

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.

Dave Slusher

2 minute read

Much of the work for Flow Designer in the Madrid release has been towards achieving feature parity with Workflows. That is to say that any work that could previously be done in a Workflow could now also be done in Flow Designer. Here is one of those features. Do Until Loops This is a common bit of logic that is needed in any programming context, and now it is available in Flows.

Andrew Barnes

2 minute read

Payload Builder A handy new feature in Madrid is the payload builder. This allows for reasonably simple name-value pairs payloads to be crafted into a payload object. The ability to use the inputs combined with a payload builder lowers the bar for building dynamic integration actions.

You can see the Name-Value pair setup is pretty straight forward using the data pill setup that is now familiar in Flow/Action Designer.

Andrew Barnes

3 minute read

Decision Tables The first feature in Madrid I am going to highlight is Decision Tables. These decision tables are a place to store the decision logic for variable situations. Each decision table record (sys_decision) handles a single decision. Related lists are the decision inputs (sys_decision_input) and decision (sys_decision_question) records. Each decision record contains an answer.

Our example will be for routing after hours service calls. We take multiple inputs in the form of location, time of submission, and the service.

Dave Slusher

7 minute read

Flow Designer is a great tool to create business logic, particularly by those outside of traditional development roles: process owners, subject matter experts and the like. However, it is almost certain that sooner or later they will want to create Flows that require Actions that do not exist in the baseline system nor easily available Spokes. So then what? My suggestion is that this is where the traditional developers should step in, by creating Actions for use by those business users who don’t want to get deep in the implementation details.

Dave Slusher

3 minute read

As Flow Designer gets more real world use, the feature set continues to evolve towards the needs of production customers. In the London release, one of those features is Subflows. By its nature, Flow Designer is pleasingly fractal in nature. You build a Flow out of Actions. When you drill into Actions, the UI looks almost the same as the Action Steps build into the Action. Subflows are another layer of this fractal, allowing for reuse by building a piece of a Flow that can be reused in multiple Flows or even across the same Flow.

Andrew Barnes

2 minute read

Share Spotlight Welcome to the second share spotlight! Every Friday we will be spotlighting a project from the Share site on the Developer Portal. Add to Update Set For the second installment, we are featuring a project called Add to Update Set Utility authored by friend of the Developer Program Ben Hollifield. This project adds a Global UI Action to place items into your current update set that might not normally be saved to an update set.

Dave Slusher

2 minute read

Share Spotlight we are beginning a new feature here on the Developer Blog. Every Friday we will be spotlighting a project from the Share site on the Developer Portal. We dug deep and decided to call this “Share Spotlight”. Show Flow Context For the first installment, we are featuring a project called Show Flow Context authored by friend of the Developer Program Tom Cullen. This project does one thing, which is to add a UI Action to Task based records to show active Flows for that record.

Dave Slusher

4 minute read

It is ServiceNow new release season! With the London release in Early Access, we will cover some of the features newly available to application developers. In this post, I will discuss one very specific topic - new ways in which Flows can be initiated. When originally released in Kingston, there were two ways to start a flow: on change or insert of a record or via a schedule. That has expanded, increasing the flexibility of Flow logic.