Open topic with navigation

# GetShortestPath

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

## Example

    http://12.3.4.56:9000/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.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HP Autonomy 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm