---
sourceDocument: Brazil Telecommunications Network Inventory
sourceDocumentLink: https://www.servicenow.com/docs/r/telecom-network-inventory

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Telecommunications Network Inventory

ft:clusterId :

    - telninv

bundleId :

    - telninv

workflow :

    - Customer and Industry


---

# Path Search function

# Path Search function {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Path Search function

The Path Search function in the Telecommunications Network Inventory application enables ServiceNow customers to compute network paths between starting and ending sites.
It is designed to assist in network inventory design and assignment by identifying possible paths between network sites.
When no path is found, it creates a logical connection based on available inputs without adding connection elements.
If the end equipment is not specified, the function selects equipment based on the Type attribute at the end site.
It also determines start and end interfaces to set the ports of logical connections automatically if not provided.
Show full answer Show less  
This function is accessible as a Workflow Studio action within the Telecommunications Network Inventory workflow, allowing integration into automated inventory-related data operations.

## Key Features

* **Path Computation:** Calculates possible network paths between specified start and end sites.
* **Automatic Interface Selection:** If start or end interfaces are not specified, selects available interfaces automatically for logical connections.
* **Logical Connection Creation:** Creates logical connections even when no physical path elements exist, ensuring network design continuity.
* **Workflow Integration:** Available as an action in Workflow Studio for seamless automation in network inventory workflows.
* **Flexible Input Parameters:** Accepts inputs such as start/end site, equipment, interface identifiers, connection models, bandwidth, and failure actions to customize path searches.

## Input Parameters

The function requires several key inputs to define the network path search, including:

* **Start and End Site:** The sysid values of the network sites where the connection begins and ends.
* **Start and End Equipment:** Optional sysid values for specific network equipment; if omitted, selection is based on type attributes.
* **Start and End Interface:** sysid values of interfaces; auto-selected if left empty.
* **End Equipment Type:** Specifies the type of equipment at the end site when exact equipment is not identified.
* **Logical and Physical Connection Models:** Defines supported models for logical and physical connections, configurable as arrays.
* **Bandwidth:** Specifies the bandwidth for the connection.
* **Fail Action:** Defines the behavior if path search fails; defaults to creating a logical connection without path elements.

## Output

The primary output is the **Connection id**, which returns the sysid of the logical connection record created or identified by the function. This output enables further workflow processing or inventory updates based on the computed path.

## Roles and Availability

Users with the **admin** role can add and configure this function as an action in Workflow Studio within the Telecommunications Network Inventory application. This ensures controlled access and integration within network inventory workflows.  
The Path Search function enables you to execute the path computation function between
the starting and ending sites in the Telecommunications Network Inventory application. You can
use this function for the path computation when you process the network inventory design and
assign.
You can use the Path Search function to identify the possible paths between your network sites.

If no path is found, the Path Search function uses the available input to create a logical connection without adding any connection elements. If you don't enter the end equipment, it selects any equipment that matches the Type
attribute that belongs to the end site. The function uses the start and end interfaces in the input to set the Port A and Port Z of the logical connections. Otherwise, it selects any interface in the Availability field, which is
marked as Available.

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

## Roles and availability {#path-compute-action__section_kfd_fdk_x5b}

Users with the 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 {#path-compute-action__section_klp_yzq_x5b}

The following table lists the input fields in the Path Search function and their description.
{#path-compute-action__table_w3g_2fm_1vb__entry__3}

| Name | Description | Data Type |
|-|-|-|
| Start Site | sys_id of the starting network site where this connection is configured. | String |
| End Site | sys_id of the ending network site where this connection is configured. | String |
| Start Equipment | sys_id of the starting network equipment where this connection is configured. | String |
| End Equipment | sys_id of the ending network equipment where this connection is configured. | String |
| Start Interface | sys_id of the starting network interface where this connection is configured. Note: If this field is left empty, it automatically selects the interface by using the path computation to create a logical connection. | String |
| End Interface | sys_id of the ending network interface where this connection is configured. Note: If this field is left empty, it automatically selects the interface by using the path computation to create a logical connection. | String |
| End Equipment Type | sys_id of the ending network equipment type where this connection is configured. | String |
| Logical Connection Model | sys_id of the logical connection model where this connection is configured. | String |
| Bandwidth | sys_id of the bandwidth of the connection. | String |
| Allowed Logical Connection Model | sys_id of the supported models for the logical connection. Click the add icon (![Add icon.]()) to add a logical connection model. | Array.String |
| Allowed Physical Connection Model | sys_id of the supported models for the physical connection. Click the add icon (![Add icon.]()) to add a physical connection model. | Array.String |
| Fail Action | Option to select the action when the function fails. You can select an action from the list. By default, the Create logical connection without path elements is selected. | Choice |
[Table 1. Input fields of Path Search function]

{#path-compute-action__table_w3g_2fm_1vb}

To learn more about the variable data types, see [Flow Designer input and output data
variables](https://www.servicenow.com/docs/access?context=action-inputs-outputs&version=brazil&pubname=brazil-build-workflows&ft:locale=en-US).

## Output {#path-compute-action__section_rnx_nxn_dvb}

The following table lists the information about the function's output.
{#path-compute-action__table_snx_nxn_dvb__entry__3}

| Name | Description | Data Type |
|-|-|-|
| Connection id | Returns the sys_id of the logical connection record. | String |
[Table 2. Output of function]

{#path-compute-action__table_snx_nxn_dvb}
**Related concepts**   

* [Allocate Free Number function](https://www.servicenow.com/docs/_llqCs0~ooIpucBGdSJqiQ "The Allocate Free Number function enables you to assign free numbers from the Telecommunications Network Inventory number record. You use this function to allocate a quantity of numbers from a specified range to add against the configuration item (CI) in a number element.")
* [Create CI From Template function](https://www.servicenow.com/docs/QFQ41pSHRqKPtAc0ACiz~w "The TNI Create CI From Template function enables you to create the inventory instance in the designated site or equipment holder in the Telecommunications Network Inventory application. This occurs when you instantiate an inventory with the inventory template. You can automatically create the inventory when you instantiate the network inventory design and assign process.")
* [Cascade Update function](https://www.servicenow.com/docs/0h9gJf66iuaLuowx~c3_MA "The Cascade Update function enables you to update a configuration item (CI) attribute in the Telecommunications Network Inventory application and cascade the change in all related CIs. You can use this function to automatically cascade the field values in related CIs when you use Workflow Studio.")
* [Create and Assign Range/Single Number function](https://www.servicenow.com/docs/Cxx9TNxEA~Isq3lSHUeX9w "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.")
* [Create Logical Interface function](https://www.servicenow.com/docs/mC61zMU2Z8ZCZVnJYMehkw "The Create Logical Interface function enables you to create logical interfaces in the Telecommunications Network Inventory application.")
* [Create Logical Connection function](https://www.servicenow.com/docs/dV1vLj2OAda8JGyEUbNo8A "The Create Logical Connection function enables you to create a logical connection record in the Telecommunications Network Inventory application. The record is based on the input (interfaces) that you receive when you instantiate an inventory.")
* [Create Physical Connection function](https://www.servicenow.com/docs/C1w8K2g3wY8Gtrqv8qigEA "The Create Physical Connection function enables you to create a physical connection record in the Telecommunications Network Inventory application. The record is based on the input that you receive when you instantiate an inventory.")
* [Create IP subnetwork function](https://www.servicenow.com/docs/otbqvl2ld5cDmLa5iAdAfg)
* [CIDR to IP range function](https://www.servicenow.com/docs/sUCIK26_NjQL3lvJroZ57A "Classless Inter-Domain Range (CIDR) to IP range flow action enables you to create a set of IP addresses using the Classless Inter-Domain Range (CIDR) in the Telecommunications Network Inventory application. The addresses are based on the input that you receive when you instantiate an inventory.")
* [Get Interface Summary function](https://www.servicenow.com/docs/WzNPry_rnAQtgJrrk0Dyfg "The Get Interface Summary function enables you to retrieve all the network interface records that are associated with the input. You can use this function to automatically get the details of the available interface, connected interface, and the physical connection of the equipment in the Telecommunications Network Inventory application. Use this when you use Workflow Studio.")
* [Lookup Next Hub function](https://www.servicenow.com/docs/owlsoOwkpXsAu9diFQGIdg "The Lookup Next Hub function enables you to take the network interface record as input and return the details of the related physical connection record. You can automatically get the details of the physical connection and interconnected ports of the equipment in the Telecommunications Network Inventory application when you use the Workflow Studio application.")

