ItemLink-Type

Description

The ItemLink-Type indicates the type of item link.

Parameters

Name Type Description
DEFAULT-ITEM-LINK string During creation of a new item link, the DEFAULT_ITEM_LINK is equivalent to TWOWAY_NO_TRIGGERS; otherwise, DEFAULT_ITEM_LINK indicates no type change. Note that returned item links always have DEFAULT_ITEM_LINK as the type.
TWOWAY-NO-TRIGGERS string Creates a two-way link between the current item and the selected item without Transition Triggers. This is the default link type.
ONEWAY-NO-TRIGGERS string Creates a one-way link from the current item to the selected item without Transition Triggers.
ONEWAY-CURRENT-TRIGGERS-LINKED string Creates a one-way link from the current item to the selected item. When the current item transitions, it also triggers the selected item to transition.
TWOWAY-CURRENT-TRIGGERS-LINKED string Creates a two-way link between the current item and the selected item. When the current item transitions, it also triggers the selected item to transition.
TWOWAY-LINKED-TRIGGERS-CURRENT string Creates a two-way link between the current item and the selected item. When the selected item transitions, it also triggers the current item to transition.
TWOWAY-BOTH-TRIGGERS string Creates a two-way link between the current item and the selected item. When either item transitions, it also triggers the linked item to transition.

Usage

Linked items can trigger one another based on certain predefined actions defined in your workflow. You can specify a link type that triggers items, but triggers fire only if they are configured for your workflow.

XML

The following XML snippet shows ItemLink-Type in the <urn:linkType> element in a typical call.

<urn:itemLink>
    <urn:id>52</urn:id>
    <urn:itemID>
        <urn:displayName></urn:displayName>
        <urn:id></urn:id>
        <urn:uuid></urn:uuid>
        <urn:tableId>1000</urn:tableId>
        <urn:tableIdItemId>1000:173</urn:tableIdItemId>
        <urn:issueId></urn:issueId>
    </urn:itemID>
    <urn:linkType>DEFAULT-ITEM-LINK</urn:linkType>
    <urn:modificationDateTime>2008-03-11T22:17:12-07:00
    </urn:modificationDateTime>
    <urn:accessType>ATTACHACCESS-DEFAULT</urn:accessType>
    <urn:extendedData>
        <urn:data>
            <urn:name></urn:name>
            <urn:value></urn:value>
        </urn:data>
    </urn:extendedData>
</urn:itemLink>