Create and Assign Range/Single Number function
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:
|
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.
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.