get_flows
Get Flow Designer flows related to a CMDB table or matching a name. Supports filtering by active status and pagination.
Instructions
Get Flow Designer flows related to a CMDB table or matching a name.
Searches sys_hub_flow by internal_name (CONTAINS table) and/or display name (CONTAINS name_filter). At least one of table or name_filter must be provided. Note: flow trigger/action details are stored in sub-tables, so this provides an overview — use the ServiceNow UI for full flow logic.
Examples: get_flows(table="cmdb_ci_server") get_flows(name_filter="decommission") get_flows(name_filter="Payroll", active_only=False)
Args: table: Filter flows whose internal_name contains this value (e.g. cmdb_ci_server). Optional if name_filter is provided. name_filter: Filter flows whose display name contains this value (e.g. "decommission", "Payroll"). Optional if table is provided. active_only: If True, return only active flows. Defaults to True. limit: Maximum flows to return (1-1000, default 25). offset: Pagination offset.
Returns: JSON object with "count", "total_count", "has_more", "next_offset", "suggested_next", and "flows" list containing sys_id, name, internal_name, description, active, and run_as. Also echoes "table" and/or "name_filter" when those parameters were provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| name_filter | No | ||
| active_only | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |