The UnassignTagboxItemsAction unassigns a specific tagbox item from the tagbox field specified e.g. remove flagged content tags from public keywords. This requires the layer with the field and the tag to be present on the content, therefore combine with "LayerAssignedCondition".

The Business Rules are not executed after one another. If one Business Rule assigns tags and another unassigns tag, it can happen that this does not work as the Business Rule Engine may first try to unassign the value when the tags are not yet assigned.

Specific Definitions

Property

Value

kind

UnassignTagboxItemsAction

path

The path to the field may be the LayerId.

Check the documentation for accessing fields for details

fieldId

The ID of a tagbox field, the value should be inserted in.

Check the documentation for details on tagboxes.

refIds

A list of refIds of the items that should be assigned, either a list of refIds or a variable. 

"$myStoreInVariable$"
CODE
"12345", "456789"
CODE

See details on refId for List Items. 

Unassign Tags in Keywords Field from a Variable

"actions": [
	{
		"kind": "UnassignTagboxItemsAction ",
		"path": "BasicInformation",
		"fieldId": "publicKeywords",
		"refIds": "$myVariable$"
	}
],
CODE