---
title: Publishing Orchestrations – BizTalk Direct-Bound Sends in Generated Articles
description: "How Nodinite documents a BizTalk orchestration that publishes to the MessageBox through a direct-bound send port: the certain and likely subscribers, the route picker rows, the Routing line, the Publishes table, and the Published by fact on the send port."
---

# :fa-share-from-square: Publishing Orchestrations

:new7.13:

A send port that subscribes on a message type only seems to have no source: its filter names no receive port. Often the message comes from an [orchestration][Orchestrations] that sends it through a direct-bound send port, straight to the BizTalk MessageBox. [Generate Articles from BizTalk][] finds those orchestrations, so an [Integration Article][Articles] can name who feeds the route instead of leaving it open.

![Document the integration on the send port i0120_StatusAck_ToFile: the route picker shows the row from orchestration i0120_DirectBound, Clear filters, search the orchestration and tick it, Create Integration Article, and the new Article's Routing line Published by, the Publishes table, and the send port's Published by row, animated walkthrough (7.13)][1]  
*Animated walkthrough: documenting a send port together with the orchestration that publishes what it subscribes on.*  

1. Open the [Endpoint][Endpoints] **i0120_StatusAck_ToFile**, a send port whose filter names a message type only.
2. Click **Document the integration**. The [route picker][Route Picker - Publishing Orchestrations] opens.
3. The filter names no receive port, yet the publisher is known: the row says *from orchestration i0120_DirectBound*.
4. Click **Clear filters** to search the whole BizTalk group.
5. Search for the orchestration that publishes it.
6. Tick the orchestration too, so the Article documents it.
7. Click **Create Integration Article**.
8. Open the new Integration Article.
9. **Routing** names the send port, then the orchestration that publishes what it subscribes on.
10. The orchestration's Building Block shows what it publishes to the MessageBox, and who subscribes on it.
11. The send port's Building Block shows **Published by**.

## :fa-network-wired: Understanding Publishing Orchestrations {#understanding}

<div class="mermaid">
flowchart LR
    O["fa:fa-diagram-project Orchestration<br/>Send shape on a direct-bound port"] -->|"publishes the message,<br/>sets context properties"| MB["fa:fa-database BizTalk MessageBox"]
    MB -->|"filter on the message type:<br/>certain"| S1["fa:fa-paper-plane Send port, send port group,<br/>or orchestration"]
    MB -.->|"filter only on properties the<br/>orchestration sets: likely"| S2["fa:fa-paper-plane Send port, send port group,<br/>or orchestration"]
    style O fill:#2678BD
    style MB fill:#3F827B
    style S1 fill:#93d16d
    style S2 fill:#FFD525
</div>

*The orchestration (blue) publishes to the MessageBox (teal). A subscriber that filters on the message type it publishes is certain (green); one that filters only on properties the orchestration sets is likely (yellow, dashed).*

A direct-bound send port is bound to the MessageBox, not to a named port: whatever subscribes on the message type, or on the context properties the message carries, receives it. :Nodinite: reads the Send shapes, the correlation sets they initialize, and the assignments to the message's context from the ODX that the BizTalk management database stores with the assembly, and the schemas behind each message type. It needs the same read access as the activation filters, and no [BizTalk Monitoring Agent][]; see the [prerequisites][Generate Articles - Prerequisites].

| Match | When | Wording |
| --- | --- | --- |
| **Certain** | The subscriber filters on the message type the Send publishes | *from orchestration ‹name›*, *Published by orchestration ‹name›* |
| **Likely** | Every property the subscriber's filter branch uses is one the orchestration sets; configuration can't prove that the values match | *likely from orchestration ‹name›*, *Likely published by orchestration ‹name›* |

Ports bound port to port (partner-bound) are left out.

## :fa-eye: Where the Publisher Shows {#where-it-shows}

| Place | What you see |
| --- | --- |
| [Route picker][Route Picker - Publishing Orchestrations] row | *from orchestration ‹name›* or *likely from orchestration ‹name›* under the source; the tooltip names the Send shape, the logical port and, when likely, the properties it sets. A search for the orchestration's name finds the routes it feeds. |
| [Integration Article][Articles], **Routing** | A line under the route, for example *Published by orchestration i0120_DirectBound (logical port AckDirectOut, Send shape Send_Ack).* or *Likely published by orchestration i0200_RouteOrder (logical port RoutedDirectOut, Send shape Send_Routed_Order), which sets Lab.Shared.Schemas.Region on the message.* |
| [Integration Article][Articles], flow diagram | An edge from the Send shape into the MessageBox, dashed when it is likely |
| [Integration Article][Articles], **Findings** | A certain publisher removes the finding that the route's filter names a message type only; a likely one adds *Route ‹route› is likely published by orchestration ‹orchestration›, which sets ‹property›; configuration cannot prove the values match.* |
| [Orchestration][Orchestrations] [Building Block][Snippets] | The table **Publishes (direct-bound sends)** |
| [Send port][Send Ports] [Building Block][Snippets] | The fact row **Published by**, for example *orchestration i0120_DirectBound (Send shape Send_Ack)* |

### The Publishes Table {#publishes}

The orchestration's Building Block lists its direct-bound sends in the table **Publishes (direct-bound sends)**, under a sentence that explains it:

| Column | Shows |
| --- | --- |
| Send shape | The Send shape that publishes |
| Logical port | The direct-bound logical port it sends through |
| Message type | The message type it publishes; an untyped message shows its type with *(decided at run time)* |
| Sets properties | The context properties the orchestration sets on the message, through a correlation set it initializes or an assignment, or — |
| Subscribers | The send ports, send port groups, and orchestrations that subscribe on it, *(likely)* after a likely one; *None* when nothing subscribes |

![Publishes table of the orchestration i0120_DirectBound: the Send shape Send_Ack on the logical port AckDirectOut publishes the message type StatusAck, sets no properties, and has the subscriber i0120_StatusAck_ToFile (7.13)][2]  
*A certain publisher: the send port subscribes on the message type that **Send_Ack** publishes.*  

![Publishes table of the orchestration i0200_RouteOrder: the Send shape Send_Routed_Order on the logical port RoutedDirectOut publishes the Order message, sets OrderId and Region, and has three likely subscribers, i0170_FilteredActivation, i0175_Filter_Operators, and i0210_NorthApproval (7.13)][3]  
*A likely publisher: the three subscribers filter on Region or OrderId, which the orchestration sets.*  

![Facts table of the send port i0120_StatusAck_ToFile, with the Filter BTS.MessageType == StatusAck and the row Published by orchestration i0120_DirectBound (Send shape Send_Ack) (7.13)][4]  
*The send port's facts name the orchestration that publishes what it subscribes on.*  

## :fa-list-ol: Document a Likely Publisher {#likely}

A routing orchestration often sets a property, such as a region, and leaves the rest to the subscribers' filters. The route picker then marks the subscribers as likely fed by it.

![Document the integration on the receive port RP_i0200_Orders_File: Clear filters, search the routing orchestration i0200_RouteOrder, the row of i0210_NorthApproval likely from orchestration i0200_RouteOrder, tick it, Create Integration Article, and the new Article's Routing line Likely published by, the Findings line, and the Publishes table with the likely subscribers, animated walkthrough (7.13)][5]  
*Animated walkthrough: an approval that starts on a Region the routing orchestration sets, documented as likely fed by it.*  

1. Open the Endpoint **RP_i0200_Orders_File**, the receive port of an orchestration that routes orders on.
2. Click **Document the integration**. The route picker opens.
3. Click **Clear filters** to search the whole BizTalk group.
4. Search for **i0200_RouteOrder**: the picker also finds what the orchestration publishes to.
5. The row of **i0210_NorthApproval** reads *likely from orchestration i0200_RouteOrder*: it starts on a Region that the routing orchestration sets, and configuration can't prove the values match.
6. Tick it: the approval belongs to this integration.
7. Click **Create Integration Article**.
8. Open the new Integration Article.
9. **Routing** says the approval is likely published by the routing orchestration, which sets the Region it filters on.
10. **Findings** names the likely publisher as such.
11. The routing orchestration's Building Block shows the properties its Send sets, and the likely subscribers.

## :fa-hand-point-right: Next Steps

* :fa-filter: [The Route Picker][]  
* :fa-eye: [Where Generated Articles Appear][]  

## :fa-link-horizontal: Related Topics

* :fa-file-lines: [Generate Articles from BizTalk][]  
* :fa-list-check: [BizTalk Document Profiles and Section Keys][]  
* :fa-file-circle-plus: [Document from the Repository][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BizTalk_OrchestrationPublisher.gif
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BuildingBlock_Publishes.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BuildingBlock_PublishesLikely.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BuildingBlock_PublishedBy.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BizTalk_OrchestrationLikelyPublisher.gif

[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[BizTalk Document Profiles and Section Keys]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/BizTalk%20Document%20Profiles%20and%20Section%20Keys.md
[BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Overview.md
[Document from the Repository]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Document%20from%20the%20Repository.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Generate Articles - Prerequisites]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Overview.md#prerequisites
[Generate Articles from BizTalk]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Overview.md
[Orchestrations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Overview.md
[Route Picker - Publishing Orchestrations]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/The%20Route%20Picker.md#publishing-orchestrations
[Send Ports]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Send%20Ports/Overview.md
[Snippets]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Snippets.md
[The Route Picker]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/The%20Route%20Picker.md
[Where Generated Articles Appear]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Where%20Generated%20Articles%20Appear.md