Prune Tree of Links actions

Prune Tree of Links actions process the Tree dataset returned by the Find Object Links action to produce a custom tree and a standard tree. The custom tree includes rows from the Tree dataset that match one or more of a specified a set of patterns; and the standard tree includes rows from the Tree dataset that don't match the any of patterns.

Action property Description
Custom Tree A Table dataset that includes rows from the Tree dataset that match one or more patterns specified in the Patterns table.
Patterns A Table parameter or dataset containing one or more patterns to be matched against rows from the Tree table. If you don’t set this property, all rows from the Tree dataset are returned in the Standard Tree dataset.
Standard Tree A Table dataset that includes rows from the Tree dataset that don't match any of the patterns specified in the Patterns table.
Tree A Table parameter or dataset containing the tree data to be processed. This is normally the Tree dataset returned by the Find Object Links action.

The Patterns table should contain the following columns:

Column Description
TYPE An object type to be matched against the Tree table’s PARENT_TYPE column.
SapQuery This column is not used.
Like This column is not used.
RegEx A regular expression to be matched against the Tree table’s PARENT_NAME column.

The Custom Tree and Standard Tree tables have the following columns.

Column Description
TYPE The type of a referenced object.
NAME The name of the referenced object.
PARENT_TYPE The type of an object that uses the referenced object directly.
PARENT_NAME The name of the referencing object.
ROW_TYPE This column is not used.
DEPTH This column is not used.
UPL This column is not used.
LINK_TYPE This column is not used.

Example

Prune Tree of Links action example.