Open topic with navigation

# GetShortestPath

Finds the shortest path in the graph between two specified nodes.

## Example

    http://12.3.4.56:10300/action=GetShortestPath&SourceName=alice%40example.com&TargetName=bob%40example.com

This action finds the shortest path through your graph between `alice@example.com` and `bob@example.com`.

## Parameters

Parameter | Description | Required
--- | --- | ---
Method | The method to use to determine the distance between nodes. | Yes
SourceID | The ID of the source node for the path. | See Comments
SourceName | The name of the source node for the path. | See Comments
TargetID | The ID of the target node for the path. | See Comments
TargetName | The name of the target node for the path. | See Comments

## Comments

You must specify:

- One of SourceName and SourceID.

AND

- One of TargetName and TargetID.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm