TX Shapes Tab¶
The TX Shapes tab of the template editor associates a template version with TX shapes of its Profile. A TX shape is the definition of a business transaction's structure, imported from BTM Explorer and listed in the Profile's Tx Shapes tab.
The TX shapes decide which API collections the template version works with: they are the API collection versions the associated shapes reference. Business Events created for this template version can only use operations from those collections, so a template version with no TX shape can't be used to create Business Events.
Accessing the tab¶
- Open the Profile and go to the Template tab.
- In the template tree, select Edit on the template version you want to configure.
- In the Edit Template Instance dialog, select the TX Shapes tab, after Frame Types.
Associated TX shapes¶
Once shapes are associated, the tab lists them with a search box (name, ID, description or application; the matching text is highlighted) and a count, for example 3 TX shapes associated.
| Column | What it shows |
|---|---|
| (checkbox) | Selects the row for removing several shapes at once. The header checkbox selects every row shown. |
| TX Shape ID | The shape's ID. Select the copy icon to copy it. |
| TX Shape Name | The name with its version. Select the name to open its TX Shape Details. A shape deleted from the Profile meanwhile shows (deleted). |
| Shape Description | What the transaction does. Hover it to read it whole. |
| Application | The application or applications of the shape. Sortable. |
| DAG Size | The number of nodes of the shape's DAG. Sortable. |
| Status | Published once every API collection the shape references is published. Hover it for what an unpublished shape is waiting for. |
| Actions | Remove the shape from this template. |
Changes to the associated shapes apply when you select Save Changes at the bottom of the editor. Cancel discards them.
Rules¶
- Shapes of this Profile only. The editor offers only the TX shapes of the template's own Profile.
-
One version per API collection. A template version uses one version of each API collection. Two shapes that reference different versions of the same collection can't be associated together: the Add dialog doesn't let you select the second one, and says why. BizMetry checks it again when you save: if the template would still end up with two versions of a collection, for example because a shape changed meanwhile, the save fails with an Error Saving Template dialog that names the shapes and the versions, and nothing is saved. Remove one of the shapes and save again.
- API collections follow the shapes. On save, the template version's API collections are set to those its TX shapes reference. Removing the last shape that uses a collection also drops the client type criteria that referred to it. - Publishing waits for the shapes. A template version can be published only when every associated TX shape is Published. Until then, a banner at the top of the tab names the shapes it is waiting for, and in the Profile's Template tab the version's publish button explains why it can't publish yet: which shapes are unpublished and which API collection versions they are waiting for.
- Shapes in use can't be deleted. While a template version uses a TX shape, the shape can't be deleted from the Profile.

