In ServiceNow, process flow names two separate features. The flow diagramming view draws a Flow Designer automation as a map of its triggers, actions, logic and subflows. The process flow formatter shows a process’s stages as a row across the top of a record form, so users can see where a record sits.
Two features share the name and do different jobs
The two features answer different questions. One describes how an automation runs. The other describes where a record sits in a business process. Confusing them leads to looking for a stage row inside Workflow Studio, or looking for a branch map on a form.
| Feature | What it shows | Where you work with it | What has to be in place first |
|---|---|---|---|
| Flow diagramming view | The paths, branches and components of a Flow Designer flow | Workflow Studio, through the view selector | Flow Diagramming installed from the ServiceNow Store |
| Process flow formatter | The stages of a process, shown on a table’s form | System UI, Process Flow | An admin role |
How the flow diagramming view draws an automation
In the Brazil release, the flow diagramming view lets you create and view flows as diagrams. It shows the paths a flow can follow and the connections between its elements. The diagram draws each element as a node. Each node shows four things: its sequence number, an icon for its component type, its name, and a menu of options. Each node also shows the paths it can be reached on or leads to. Because the branches are drawn, a reader can see the routes a flow can take without tracing them by hand.
Three kinds of component are easy to tell apart on the diagram. Actions carry out work, flow logic decides which path is taken, and subflows call a reusable sequence. Flow logic is drawn as branches or loops. The logic the view displays includes If, Else If, Make a decision, Do the following in parallel, Do the following until, For Each, Try, Wait for a duration of time, and others covered in the limits section below.
To add an element from the diagram, use the plus icon on the path where it should sit. That inserts an action, flow logic or subflow at that point. The Add a node control does a similar job but places the element at the end of the flow.
The view selector switches between the flow diagramming view and the flow description view.
Setting up the view
The view needs the Flow Diagramming application from the ServiceNow Store. It is installed automatically as a dependency of Workflow Studio, and updating Workflow Studio also updates it.
Controls on the diagram
The diagram has a small set of controls. Each one changes what is on screen without changing the flow.
- Preview and zoom. A thumbnail sits beside the diagram. Select a region of the thumbnail to set the focus, then zoom in or out to examine part of a long flow.
- Node properties. A properties panel configures whichever node is selected. This is where the settings of a single action or condition are changed.
- Search nodes. Search finds the nodes that match the criteria you enter. It is quicker than scrolling a long flow to find one step.
- Details. This option shows or hides the configuration details under each node, such as conditions and data pill paths. Turning it off gives a cleaner view of the structure.
- Annotations. This option shows or hides annotation text, which appears in italics beneath each node.
Annotations can be added and edited on actions, flow logic and subflows. That gives a flow owner a place to record why a branch exists, directly on the element it concerns.
Downloading a flow diagram as an image
The download control saves the flow as a PNG image. A dialog asks where to save the file. The image contains the nodes, the connection lines and the order numbering. It does not include the details or annotations shown on screen. A picture made for a reviewer therefore shows the shape of the flow but not the conditions behind each step.
A large flow does not fit into one image. When that happens, the system creates one image per section of the flow, so a complex flow produces several files. Name them so they can be read in sequence.
Flows the diagram cannot show
Workflow Studio disables the diagramming view when a flow contains a component the view does not support. Use the flow description view for those flows.
The view displays a defined set of trigger types. These are Record, Date, Inbound email, Kafka Message, MetricBase, REST API – Asynchronous, Service Catalog and SLA Task. Some trigger types are not supported, and the view displays only nodes for supported components. A flow that mixes supported and unsupported parts will therefore show a partial picture.
On the component side, the view supports annotations on actions, flow logic and subflows, data stream actions, stages and subflows. Flow logic is displayed for the supported logic types listed above. A flow that depends on logic outside that list should be checked in the description view before anyone relies on the diagram.
Process flow formatter: stages on a form
The formatter gives a graphical summary of the stages of a process. In the Zurich release, it is typically placed at the top of forms that belong to that process. When a stage’s condition is met, the formatter highlights the current stage and places a check mark next to all previous stages. A user can see how far a record has moved without reading the state field.
Each stage is a record in the Flow Formatter table, which is named sys_process_flow. Each stage can carry its own condition. Stages appear on the table’s form in their set order, provided the formatter has been added to that form.
Because the condition decides which stage is current, the conditions define how the display behaves. A stage with a poorly written condition highlights at the wrong time, even when its position in the row is correct.
Creating the stages
To create a stage, go to All, then System UI, then Process Flow. Click New, complete the form, and repeat for each stage in the process. The form has the following fields.
| Field | What it controls |
|---|---|
| Table | The table the formatter applies to |
| Name | The name that identifies the formatter |
| Label | The name shown when the formatter is chosen in the form configuration |
| Description | Notes about the formatter. It does not appear on the formatter itself |
| Active | When selected, the stage appears in the flow display. When cleared, the stage is hidden from the display |
| Order | The position of the stage. Lower numbers sit on the left and higher numbers sit on the right |
| Condition | The rule that decides when the stage is highlighted as current. It is built with the condition builder, and any field the builder offers can be used, such as SLA or Impact |
Two details matter in practice. Clearing the Active flag hides the stage from the flow display. The stage record itself is not described as deleted by this step. The Order field sets the left-to-right position of each stage. The Condition field decides which stage is highlighted as current.
Prerequisites for the formatter
To set up the formatter, activate the Process Flow Formatter plugin from All, then System Applications, then All Available Applications. In the Zurich release, if the plugin cannot be found in that list, it may need to be requested from ServiceNow personnel.
Activating the plugin and creating stages both require the admin role. Where domain separation and delegated administration are enabled, the administrator performing the activation must be in the global domain. If they are not, the activation fails with a Plugin Activation error. The error is tied to the domain of the administrator performing the activation, so check that first.
Frequently asked questions
Is the flow diagram the same thing as the process flow formatter?
No. The diagram shows the paths and components of a Flow Designer automation in Workflow Studio. The formatter shows the stages of a process as a row on a table’s form. They are configured in different places and need different prerequisites.
Why does my flow not appear in the diagram view?
The view is disabled when a flow contains a component it does not support. Check whether the flow’s trigger is one of the supported trigger types, and whether its logic is in the supported list. When the diagram is disabled, use the view selector to switch to the flow description view for the same flow.
Why does the downloaded image not show the conditions I can see on screen?
The exported PNG shows the nodes, connection lines and order numbering. Conditions and data pill paths appear on screen when the Details option is on, but they are not part of the image.
What must be in place before I can add a process flow to a form?
To set up the formatter, activate the Process Flow Formatter plugin from All, then System Applications, then All Available Applications. Creating stages needs the admin role. In a domain-separated instance with delegated administration, the activating administrator must be in the global domain.
How does the formatter decide which stage is current?
Each stage has a condition built with the condition builder. When a stage’s condition is met, it is highlighted as the current stage, and all previous stages receive a check mark. The condition can use any field the builder offers, including SLA or Impact.
Can a stage be removed from the display without being deleted?
Yes. Clearing the Active flag hides the stage from the flow display. The stage record itself is not described as deleted by this step.