Breadcrumbs

RemoveRelation

Summary

This block is used to remove the relations on the defined target(s). Only the relations matching the given id and direction(s) will be removed


Implementation

  • Drag and drop the block from the palette

  • Link the "execute" action from the "executed" topic of the previous block

Example

This block removes all the relations named "hs:siteRef" (from Haystack dictionary) from a site.


image2024-12-2_11-31-42.png


 Properties

  • Target: SFormat to define the target component with the relation(s) to remove. Ex: the component which represents a site

  • RelationId: SFormat to define the id of the relation to create. Ex: hs:siteRef, b:isIn or any relation of any dictionary

  • Direction: Direction(s) of the relation to remove


Behavior: DO

The matching relations are deleted from target(s).


Behavior: UNDO

Cannot be undone