Skip to main content

Add Trace Configuration (Utility Network Tools)

Summary

Creates a named trace configuration in the utility network.

Named trace configurations allow you to configure and store the properties of complex traces for reuse and sharing. Named trace configurations created in a utility network can be used in ArcGIS Pro with the Trace tool or by using the Named Configurations tab in the Trace pane. When working in an enterprise deployment, named trace configurations can also be shared through a web map and used by web and field apps.

Learn more about how to create a named trace configuration

Usage

  • The Input Utility Network parameter value must be version 5 or later.

  • When working with an enterprise geodatabase, the input utility network must be from a utility network service.

  • The connected portal account is set as the creator of the named trace configuration. Operating system authentication is used to store the creator of a named trace configuration when working with a utility network in a single-user deployment.

    License:

    The active portal account must be assigned a license with the ArcGIS Advanced Editing user type extension to use this tool in an enterprise deployment.

Parameters

Label Explanation Data type

Input Utility Network

The utility network that will contain the new named trace configuration.

Utility Network; Utility Network Layer

Trace Configuration Name

The name of the named trace configuration.

String

Trace Type

Specifies the type of trace that will be used.

  • ConnectedA connected trace that begins at one or more starting points and spans outward along connected features will be used. This is the default.

  • SubnetworkA subnetwork trace that begins at one or more starting points and spans outward to encompass the extent of the subnetwork will be used. This trace type is supported for traditional domain networks only.

  • Subnetwork controllersA subnetwork controllers trace that locates sources and sinks on subnetwork controllers associated with a subnetwork will be used. This trace type is supported for traditional domain networks only.

  • UpstreamAn upstream trace that discovers features upstream from a location in the network will be used. This trace type is supported for traditional domain networks only unless Use Digitized Direction is checked.

  • DownstreamA downstream trace that discovers features downstream from a location in the network will be used. This trace type is supported for traditional domain networks only unless Use Digitized Direction is checked.

  • LoopsA loops trace that spans outward from the starting point based on connectivity will be used. Loops are areas of the network where flow direction is ambiguous.

  • Shortest pathA shortest path trace that identifies the shortest path between two starting points will be used.

    Legacy:

    The shortest path trace type is deprecated with ArcGIS Pro 3.7 and ArcGIS Enterprise 12.1. While the shortest path trace will continue to function and be an option until the next major release, we recommend that you use the path trace to return the shortest path. The path trace provides the same functionality to return a shortest path result while offering additional capabilities to find paths in your network.

  • IsolationAn isolation trace that discovers features that isolate an area of a network will be used. This trace type is supported for traditional domain networks only.

  • PathA path trace that identifies valid paths between one or more start and stop locations, or the shortest path between a specified starting point and stopping point will be used.

  • CircuitA circuit trace that begins at a circuit's start location or a provided starting point to return the circuit definition and path information for both physical and virtual circuits will be used. This option is supported for telecom domain networks only.

String

Description

(Optional)

The description of the named trace configuration.

String

Tags

(Optional)

A set of tags used to identify the named trace configuration. The tags can be used in search and indexing.

String

Domain Network

(Optional)

The name of the tier in a traditional domain network where the trace will be run. This parameter is required when running the subnetwork, subnetwork controllers, upstream, downstream, and circuit trace types

String

Tier

(Optional)

The name of the tier where the trace will start. This parameter is required when running the subnetwork, subnetwork controllers, upstream, and downstream trace types.

String

Target Tier

(Optional)

The name of the target tier in a traditional domain network to which the input tier will flow in a directional trace. If this parameter is not specified for upstream and downstream traces, those traces will stop when they reach the boundary of the starting subnetwork. This parameter can be used to allow these traces to continue either farther up or farther down the hierarchy.

String

Subnetwork Name

(Optional)

The name of the subnetwork in a traditional domain network where the trace will be run. This parameter can be used when running a subnetwork trace type. If a subnetwork name is specified, starting points are not required. When the subnetworks table contains 10,000 or more records for a tier, the parameter's choice list is not populated and an empty field is provided for the subnetwork name.

String

Shortest Path Network Attribute Name

(Optional)

The network attribute that will be used to calculate the shortest path using the path or shortest path trace type. The shortest path is calculated using a numeric network attribute such as shape length. Cost- and distance-based paths can both be achieved. This parameter is optional for a path trace but is required when running a shortest path trace.

String

Include Containers

(Optional)

Specifies whether the container features will be included in the trace results.

  • CheckedContainer features will be included in the trace results.

  • UncheckedContainer features will not be included in the trace results. This is the default.

Boolean

Include Content

(Optional)

Specifies whether the trace will return content in container features in the results.

  • CheckedContent in container features will be included in the trace results.

  • UncheckedContent in container features will not be included in the trace results. This is the default.

Boolean

Include Structures

(Optional)

Specifies whether structure features and objects will be included in the trace results.

  • CheckedStructure features and objects will be included in the trace results.

  • UncheckedStructure features and objects will not be included in the trace results. This is the default.

Boolean

Include Barrier Features

(Optional)

Specifies whether the traversability barrier features will be included in the trace results. Traversability barriers are optional even if they have been preset in the subnetwork definition. This parameter does not apply to device features with terminals.

  • CheckedTraversability barrier features will be included in the trace results. This is the default.

  • UncheckedTraversability barrier features will not be included in the trace results.

Boolean

Validate Consistency

(Optional)

Specifies whether an error will be returned if dirty areas are encountered in any of the traversed features. This is the only way to guarantee a trace is passing through features with consistent status in the network. To remove dirty areas, validate the network topology.

  • CheckedThe trace will return an error if dirty areas are encountered in any of the traversed features. This is the default.

  • UncheckedThe trace will return results regardless of whether dirty areas are encountered in any of the traversed features.

Boolean

Condition Barriers

(Optional)

Sets a traversability barrier condition on features based on a comparison to a network attribute or check for a category string. A condition barrier uses a network attribute or network category, an operator and a type, and an attribute value. For example, stop a trace when a feature has the Device Status attribute equal to the specific value of Open. When a feature meets this condition, the trace stops. If you're using more than one attribute, you can use the Combine using parameter to define an And or an Or condition.

Learn more about using multiple conditional expressions

Value table columns:

  • NameFilter by the network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value or network category.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingUse this parameter to combine multiple condition barriers.

    • AndCombine the condition barriers.

    • OrUse if either condition barrier is met.

Value Table

Function Barriers

(Optional)

Sets a traversability barrier on features based on a function. Function barriers can be used to do such things as restrict how far the trace travels from the starting point, or set a maximum value to stop a trace. For example, the length of each line traveled is added to the total distance traveled so far. When the total length traveled reaches the value specified, the trace stops.

Value table columns:

  • FunctionFilter by a function.

    • MinimumThe minimum of the input values will be identified.

    • MaximumThe maximum of the input values will be identified.

    • AverageThe average of the input values will be calculated.

    • CountThe number of features will be identified.

    • AddThe sum of the input values will be calculated.

    • SubtractThe difference between the input values will be calculated. Subnetwork controllers and loops trace types do not support the subtract function.

  • AttributeFilter by a network attribute.

  • OperatorFilter by an operator.

    • Is equal toThe function result is equal to the value.

    • Does not equalThe function result is not equal to the value.

    • Is greater thanThe function result is greater than the value.

    • Is greater than or equal toThe function result is greater than or equal to the value.

    • Is less thanThe function result is less than the value.

    • Is less than or equal toThe function result is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • ValueFilter by a specific value.

  • Use Local ValuesBoolean value that uses local variables instead of a global variable.

Value Table

Apply Traversability To

(Optional)

Specifies whether traversability will be applied to junctions, edges, or both. For example, if a condition barrier is defined to stop the trace if Device Status is equal to Open and traversability scope is set to edges only, the trace will not stop—even if it encounters an open device—because Device Status is only applicable to junctions. In other words, this parameter indicates to the trace whether to ignore junctions, edges, or both.

  • Both junctions and edgesTraversability will be applied to both junctions and edges. This is the default.

  • Junctions onlyTraversability will be applied to junctions only.

  • Edges onlyTraversability will be applied to edges only.

String

Filter Barriers

(Optional)

Specifies when a trace will stop for a specific category or network attribute. For example, stop a trace at features that have a life cycle status attribute that is equal to a certain value. This parameter is used to set a terminator based on a value of a network attribute that is defined in the system. If you're using more than one attribute, you can use the Combine Using option to define an And or an Or condition.

Learn more about using multiple conditional expressions

Value table columns:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingUse this parameter to combine multiple filter barriers.

    • AndCombine the condition barriers.

    • OrUse if either condition barrier is met.

Value Table

Filter Function Barriers

(Optional)

Filters the results of the trace for a specific category.

Value table columns:

  • FunctionFilter by a function.

    • MinimumThe minimum of the input values will be identified.

    • MaximumThe maximum of the input values will be identified.

    • AverageThe average of the input values will be calculated.

    • CountThe number of features will be identified.

    • AddThe sum of the values will be calculated.

    • SubtractThe difference between the values will be calculated. Subnetwork controllers and loops trace types do not support the subtract function.

  • AttributeFilter by a network attribute.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • ValueFilter by a specific value.

  • Use Local ValuesBoolean value that uses local variables instead of a global variable.

Value Table

Apply Filter To

(Optional)

Specifies whether the filter for a specific category will be applied to junctions, edges, or both. For example, if a filter barrier is defined to stop the trace if Device Status is equal to Open and traversability scope is set to edges only, the trace will not stop—even if the trace encounters an open device—because Device Status is only applicable to junctions. In other words, this parameter indicates to the trace whether to ignore junctions, edges, or both.

  • Both junctions and edges—The filter will be applied to both junctions and edges. This is the default.

  • Junctions only—The filter will be applied to junctions only.

  • Edges only—The filter will be applied to edges only.

  • BOTH_JUNCTIONS_AND_EDGESThe filter will be applied to both junctions and edges. This is the default.

  • JUNCTIONS_ONLYThe filter will be applied to junctions only.

  • EDGES_ONLYThe filter will be applied to edges only.

String

Filter by bitset network attribute

(Optional)

The name of the network attribute that will be used to filter by bitset. This parameter is only applicable to upstream, downstream, and loops trace types. This parameter can be used to add special logic during a trace so the trace more closely reflects real-world scenarios. For example, for a loops trace, the Phases current network attribute can determine if the loop is a true electrical loop (the same phase is energized all around the loop, that is, A) and return only real electrical loops for the trace results. An example for an upstream trace is when tracing an electric distribution network, specify a Phases current network attribute, and the trace results will only include valid paths that are specified in the network attribute, not all paths.

String

Filter by nearest

(Optional)

Specifies whether the k-nearest neighbors algorithm will be used to return a number of features of a certain type within a given distance. You can provide a count and a cost as well as a collection of categories, an asset type, or both.

  • CheckedThe k-nearest neighbors algorithm will be used to return a number of features as specified in the nearest_count, nearest_cost_network_attribute, nearest_categories, or nearest_assets parameter.

  • UncheckedThe k-nearest neighbors algorithm will not be used to filter results. This is the default.

Boolean

Count

(Optional)

The number of features that will be returned when Filter by nearest is checked.

Long

Cost Network Attribute

(Optional)

The numeric network attribute that will be used to calculate nearness, cost, or distance when Filter by nearest is checked—for example, shape length.

String

Nearest Categories

(Optional)

The category or categories that will be returned when Filter by nearest is checked—for example, protective.

String

Nearest Asset Groups/Types

(Optional)

The asset groups and asset types that will be returned when Filter by nearest is checked—for example, ElectricDistributionDevice/Transformer/Step Down.

String

Functions

(Optional)

The calculation function or functions that will be applied to the trace results.

Value table columns:

  • FunctionCalculation function.

    • AverageThe average of the input values will be calculated.

    • CountThe number of features will be identified.

    • MaximumThe maximum of the input values will be identified.

    • MinimumThe minimum of the input values will be identified.

    • AddThe sum of the input values will be calculated.

    • SubtractThe difference between the input values will be calculated. Subnetwork controllers and loops trace types do not support the subtract function.

  • AttributeFilter by a network attribute

  • Filter NameFilter by attribute name.

  • Filter OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • Filter TypeFilter by attribute type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • Filter ValueFilter by a specific value.

  • Function NameThe name for the alias to describe the function result.

Value Table

Propagators

(Optional)

Specifies the network attributes to propagate as well as how that propagation will occur during a trace. Propagated class attributes denote the key values on subnetwork controllers that are disseminated to the rest of the features in the subnetwork. For example, in an electric distribution model, you can propagate the phase value. In a telecom domain network, you can propagate wavelengths values from features defined as circuit locations.

Note:

This parameter is only available in Python.

Value table columns:

  • AttributeFilter by a network attribute.

  • Substitution AttributeThe network attribute used for substitution.

  • FunctionFilter by a function.

  • OperatorFilter by an operator.

  • ValueFilter by a specific value.

Value Table

Output Asset Types

(Optional)

Filters the output asset types to be included in the results—for example, only return overhead transformers.

String

Output Conditions

(Optional)

The types of features that will be returned based on a network attribute or category. For example, in a trace configured to filter out everything but Tap features, any traced features that do not have the Tap category assigned to them will not be included in the results. Any traced features that do will be returned in the result selection set.

Learn more about using multiple conditional expressions

Value table columns:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingUse this parameter to combine multiple conditions.

    • AndCombine the conditions.

    • OrUse if either condition is met.

Value Table

Include Isolated Features

(Optional)

Specifies whether isolated features will be included in the trace results. This parameter is only used when running an isolation trace.

  • CheckedIsolated features will be included in the trace results.

  • UncheckedIsolated features will not be included in the trace results. This is the default.

Boolean

Ignore Barriers At Starting Points

(Optional)

Specifies whether dynamic barriers in the trace configuration will be ignored for starting points. This may be useful when performing an upstream protective device trace using the discovered protective devices (barriers) as starting points to find subsequent upstream protective devices.

  • CheckedBarriers at starting points will be ignored in the trace.

  • UncheckedBarriers at starting points will not be ignored in the trace. This is the default.

Boolean

Include up to First Spatial Container

(Optional)

Specifies whether the containers returned will be limited to those encountered up to, and including, the first spatial container for each network element in the trace results. If no spatial containers are encountered but nonspatial containers are present for a given network element, all nonspatial containers will be included in the results. This parameter is only enabled when Include Containers is set to INCLUDE_CONTAINERS.

  • CheckedOnly containers encountered up to, and including, the first spatial container will be returned in the results when nested containment associations are encountered along the trace path. If no spatial containers exist, all nonspatial containers will be included in the results for a given network element.

  • UncheckedAll containers will be returned in the results. This is the default.

Boolean

Result Types

(Optional)

Specifies the type of results that will be returned by the trace.

  • SelectionThe trace results will be returned as a selection set on the appropriate network features. This is the default.

  • Aggregated GeometryThe trace results will be aggregated by geometry type and stored in multipart feature classes displayed in layers in the active map.

  • CircuitsThe trace results will be returned as a circuit definition with the option to include path connectivity information and geometry for each section in a specified output .json file. This option is supported with circuit traces in a telecom domain network only and enables the Include geometry, Synthesize Geometries, and Output JSON parameters.

String

Allow Indeterminate Flow

(Optional)

Specifies whether features with indeterminate flow will be traced. This parameter is only applicable when running an upstream, downstream, or isolation trace.

  • CheckedFeatures with indeterminate flow will be traced. This is the default.

  • UncheckedFeatures with indeterminate flow will stop traversability and will not be traced.

Boolean

Validate Locatability

(Optional)

Specifies whether an error will be returned during a trace if nonspatial junction or edge objects are encountered without the necessary connectivity, containment, or attachment association in their association hierarchy. This parameter ensures that nonspatial objects returned by a trace operation can be located through an association with features or other locatable objects.

  • CheckedThe trace will return an error if unlocatable nonspatial junction or edge objects are encountered without the necessary connectivity, containment, or attachment association in their association hierarchy.

  • UncheckedThe trace will not check for unlocatable objects and will return results regardless of whether unlocatable objects are present in the association hierarchy of the traversed features. This is the default.

Boolean

Use Digitized Direction

(Optional)

Specifies whether upstream and downstream trace operations will determine flow direction using the digitized direction of the line, the From and To global ID of the edge object in the association, and the Flow direction attribute. This parameter is only available and active for utility network version 7 and later when the trace_type parameter is set to UPSTREAM or DOWNSTREAM.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 11.3 or later.

  • CheckedTrace operations will determine flow direction using the digitized direction of the line, the From and To global ID of the edge object in the association, and the flow direction attribute. With this option, the domain_network, tier, and target_tier parameters are ignored.

  • UncheckedTrace operations will determine flow direction based on the location of subnetwork controllers. This is the default.

Boolean

Synthesize Geometries

(Optional)

Specifies whether geometries will be inferred and created (synthesized) for associations and edge objects traversed as part of a trace operation. This parameter is only applicable to the aggregated geometry result type.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 11.3 or later.

  • CheckedGeometries will be inferred and created for the traversed associations and edge objects in the output Trace_Results_Aggregated_Lines feature class.

  • UncheckedGeometries will not be synthesized for the traversed associations and edge objects. This is the default.

Boolean

Num Paths

(Optional)

The maximum number of paths that will be returned between a given set of starting points and stopping points in a Path trace. The default is 2. This parameter is only active when the Trace Type parameter is set to Path.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 12.1 or later.

Long

Max Hops

(Optional)

The maximum number of hops between edges allowed in the path, excluding the starting point. All edges and junction-junction connectivity associations are evaluated as having a fixed unit length of 1 on traversal. The default is 100. This parameter is only active when the Trace Type parameter is set to Path.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 12.1 or later.

Long

Circuit Name

(Optional)

The name of the circuit in a telecom domain network where the circuit trace will be run.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 12.0 or later.

String

Infer Connectivity

(Optional)

Specifies whether the path trace will use connectivity inference to traverse containment associations and find a path between the specified starting and stopping location. This parameter is supported with the path trace in telecom domain networks and enables paths to be discovered between sections when connectivity information is not explicitly available. For more information, see Infer Connectivity.

  • CheckedThe path trace will use connectivity inference to traverse containment associations and identify a path between the specified starting and stopping location when incomplete connectivity prevents traversal.

  • UncheckedConnectivity inference will not be used to identify a path between the specified starting and stopping location. This is the default.

Boolean

Derived output

Label Explanation Data type

Output Utility Network

The updated utility network.

Utility Network

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes