IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Customize behavior with visual snippets > Create a custom visual snippet
Adding a link to a snippet
Links represent data flow and direct the sequence in which the processing of the activities in your snippet occurs.
You can either create a link automatically when your drop an object onto the canvas as described in the first step, or link two existing objects as described in the second.
Procedure
- Create a link automatically in either of these ways:
- Click an Input in the tray, and drag it onto an input terminal of an existing activity on the canvas, or
- Click an item in the palette, and then click a valid input or output terminal of an existing activity on the canvas. The crossed out circle on your cursor will disappear when the terminal is a valid choice for a link.
- Link two existing objects on the canvas as follows:
- Drop an activity onto the canvas. If it can take an incoming link, it will have a triangle on its left edge
.
If it can take an outgoing link, the triangle will be on the right edge
.
- Move the cursor over an outgoing link until the yellow circle appears as shown in this image.
![]()
- Click the yellow circle. The cursor will change appearance, and will look like a plus sign with a crossed out circle beside it.
- Drag the cursor out over the canvas. A yellow string is now attached to the cursor, and when you hover over a valid incoming link icon, the crossed out circle disappears.
- Click the activity that you want to link to. The link becomes a solid gray line and connects the two activities.
- To change the target activity, click the link so that it becomes highlighted, click the black box at the target end of the link, and drag it to a new incoming link.
Results
You have successfully created a link in your snippet.