Create and Assign Range/Single Number function

concept brazil Updated Sep 10, 2026 4 min read create-assign-range-single-number-function.md
Raw file servicenow.com

The Create and Assign Range/Single Number function enables you to create the inventory number records for a number range when you process the network inventory workflow.

You use the Create and Assign Range/Single Number function to create the inventory number records between the input start and end numbers. This function also creates the corresponding number elements.

You can use this function as a Workflow Studio action in the Telecommunications Network Inventory workflow.

Roles and availability

An admin role can add an action to a flow and define the configuration details of the flow. This function is available as a Workflow Studio action in the Telecommunications Network Inventory application so that you can perform inventory-related data operations.

Input fields

The following table lists the input fields in the Allocate Free Number action and their descriptions.

Field Name

Description

Type

Required?

Owned By Configuration Item

Inventory number record that you need the free number for.

Reference.Configuration Item

Yes

Start

Start number of the inventory number record.

Integer

Yes

End

End number of the inventory number record. You must provide the value when it’s a range.

Integer

No

Name

Name of the inventory number record that you want to create.

String

Yes

Number Type

Type of network connection that you need the free numbers for. Select one of the following:- VLAN Range

Range of VLAN numbers.

  • VLAN Subrange

Subset or a range of VLAN numbers within the overall VLAN range.

  • VLAN

Single VLAN number record

  • LAG Range

Range of LAG numbers.

  • LAG

Single LAG number record

Choice

Yes

Parent Number

Parent number record. If you don't select the parent number record, the function returns only an inventory number record for the start number.

Reference.Inventory Number record

No

To learn more about the variable data types, see [Flow Designer input and output data variables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/build-workflows/action-inputs-outputs.md).

Output

The following table lists the information about the function output.

Name Description Type
Inventory Number Returns the inventory number record. Record

Example

Consider, a VLAN has 1–4096 as range and 1–1000, 1001–2500, and 2510–4096 are the subranges. If you give the start number as 2501 and the end number as 2502, the function creates a number range of 2501-2502 and returns the inventory number record.

Parent Topic:Telecommunications Network Inventory function catalog

Related topics

Allocate Free Number function

Create CI From Template function

Cascade Update function

Create Logical Interface function

Create Logical Connection function

Create Physical Connection function

Create IP subnetwork function

CIDR to IP range function

Get Interface Summary function

Lookup Next Hub function

Path Search function

Search documentation
Search document titles and file paths on the brazil branch