- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
β¨ What are Data Streams?
Data Streams allow you to stream records in batches into a flow, instead of pulling all data at once. This makes your flows more scalable and reduces memory and timeout errors.
β‘ When to Use Data Streams?
β
When sending bulk emails or notifications to thousands of users.
β
When archiving or mass-updating large sets of records (e.g., closed incidents older than 1 year).
β
When syncing big record sets to an external system.
π₯ How to Use Data Streams in Flow Designer:
1οΈβ£ Create a Data Stream Action
Go to Flow Designer > Action and select type Data Stream Action.
2οΈβ£ Configure Your Query Logic
Define which table to pull records from and set filtering conditions (similar to GlideRecord queries).
3οΈβ£ Use Batches
Set a batch size (e.g., 100 or 500) to control how many records are processed per execution.
4οΈβ£ Build Your Flow with Stream Input
When building your flow, choose Data Stream Input as a trigger or step. Then define what should happen to each batch (e.g., update fields, send notifications).
5οΈβ£ Test and Monitor
Run your flow and use Execution Details to monitor how each batch is processed.
β‘ Pro Tip:
Combine Data Streams with Flow Logic (If, Switch, For Each) to handle different business rules per record or per batch!
β Why Use Data Streams?
-
πͺ Scalability: No more crashing flows or incomplete updates on big data sets.
-
π Performance: Keeps your instance responsive by breaking down heavy operations.
-
π Reliability: Reduces risk of timeouts and ensures consistent data processing.
π₯ With Data Streams, you can transform how you handle large data operations in ServiceNow β no more slow bulk jobs or manual scripts. Itβs all clean, low-code, and flow-powered!
π¬ Ready to supercharge your automation? Try Data Streams in your next flow and watch your performance soar!
- 2,146 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

