# duplicate to related

<div align="left"><img src="https://111806075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg4otljWU9FsHKYhTsW%2Fuploads%2Fc4POKrLOwXWo7LNbFxff%2Fimage.png?alt=media&#x26;token=8eb99dd5-188b-41fa-a462-ced561a3f375" alt=""></div>

Duplicates message to related entities fetched by relation query.

Related Entities found using configured relation direction and Relation Type.

For each found related entity new message is created with related entity as originator and message parameters copied from original message.

Configuration:

<div align="left"><img src="https://111806075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg4otljWU9FsHKYhTsW%2Fuploads%2FN6iF6nid4rnFuR3FgYfH%2Fimage.png?alt=media&#x26;token=276b95d4-7e8c-4242-bb3d-e0225158dd54" alt=""></div>

* **Relations query** - query used to find new entities starting from incoming message originator. In ‘Relations query’ configuration Administrator can select required **Direction** and **relation depth level**. Also set of **Relation filters** can be configured with required Relation type and Entity Types.

New messages will be duplicated to found entities and forwarded via **Success** chain if at least one entity will be found using Relations Query. Otherwise original message will be forwarded via **Failure** chain.

<br>
