ServiceNow Flow Designer Development & Configurations
Categories:
ServiceNow Item/Form Development
Description
ServiceNow Flow Designer Configurations
ServiceNow Flow Designer is a visual builder that allows you to automate business processes without writing code. Its “configurations” can be thought of as the structural building blocks and settings that define how an automated workflow behaves.
Here is a breakdown of the key configurations within Flow Designer:
1. Trigger Configurations
The trigger is the “When” of your flow. It defines the event that starts the execution.
- Record-based: Runs when a record is Created, Updated, or Created/Updated (e.g., when an Incident priority changes to “1”).
- Schedule-based: Runs at specific intervals—Daily, Weekly, Monthly, or even a Specific Date (e.g., a daily report cleanup).
- Application-based: Specialized triggers for specific modules like Service Catalog (runs when a user submits a request) or Inbound Email.
- Advanced Triggers: Includes triggers like SLA Task (runs when an SLA reaches a certain percentage) or MetricBase.
2. Actions & Subflows
Actions are the “What”—the individual steps the flow performs.
- Core Actions: Pre-built steps provided by ServiceNow (e.g., Create Record, Ask for Approval, Send Email, Update Record).
- Custom Actions: If a core action doesn’t exist, developers can configure custom actions using the Action Designer. These often contain Script Steps (JavaScript) or REST steps for integrations.
- Subflows: These are reusable flows that do not have their own trigger. You configure them to be “called” by other flows to handle repetitive logic.
3. Flow Logic
Flow logic controls the path and decision-making process of the automation.
- If / Else If / Else: Conditional branches that execute actions only if certain criteria are met.
- For Each: Loops through a list of records (e.g., “For each task in this request, close it”).
- Wait for Condition: Pauses the flow until a specific field value or event occurs.
- Do the following in Parallel: Executes multiple action branches at the same time.
- Error Handler: A specific configuration area at the bottom of the flow to catch and manage failures gracefully.
4. Data Configurations (Data Pills)
Data is passed between steps using Data Pills.
- The Data Panel: Located on the right side of the builder, it stores variables from the trigger and previous actions.
- Transform Functions: You can configure data on-the-fly (e.g., converting a string to uppercase or calculating a date) by clicking the fx icon on a data pill.
5. Execution & Runtime Settings
These configurations determine how the flow is managed by the system:
- Run As: Configures whether the flow runs as the System User (ignoring ACLs/permissions) or the User who initiates the session.
- Protection: Options to make the flow “Read Only” to prevent unauthorized edits in different environments.
- Inbound Email Triggers: Specific configurations for how to parse and handle incoming emails as flow inputs.
Comparison of Configuration Types
| Component | Purpose | Examples |
| Trigger | Starts the process | Record Created, Daily at 8 AM |
| Action | Performs a task | Send Email, Update Record |
| Flow Logic | Controls the sequence | If/Else, For Each, Wait |
| Data Pill | Passes information | Trigger -> Incident -> Short Description |
| Spoke | Groups related actions | ITSM Spoke, Slack Spoke, Jira Spoke |

Product Reviews