Skip to main content
Skip table of contents

Tagbox Item Unassigned Condition

The condition Tagbox Item Unassigned checks if a specific tagbox item ("a tag") is unassigned in a specific field e.g. Check if the tag "Twitter" is unassigned in the field "SocialMediaPlatforms" on Layer "CopyrightUsages" to then remove this image from Twitter. The Business Rule may check if the tag "Dealer Portal Europe" was unassigned to then e.g. remove the view permission for European dealers. 

(lightbulb) Triggers the moment an item is unassigned in the provided Tagbox, either any value (leave refId empty) or a specific value (provide refId). 

Use Tagbox Item Unassigned inside AND/OR to check if multiple tags were unassigned. 

CODE
{
    "kind": "AndCondition",
    "conditions": [
		{
			"kind": "TagboxItemUnassignedCondition",
			"fieldpath":"productInformation.products",
			"refId": "123556..."
		},
		{
			"kind": "TagboxItemUnassignedCondition",
			"fieldpath":"productInformation.products",
			"refId": "123556..."
		}
	]
}

Specific Definitions

The refId is used in the Business Rule, so you can update the list item attributes at any time. 

Property

Value

kind

TagboxItemUnassignedCondition

fieldpath

layerId.fieldId

Details on accessing field values, specifically fieldpath starts lowercase

Supports JSON path syntax which you can test here: https://jsonpath.com.

refId

The ID of the List Item to check. 

This is optional. You can leave it empty if you want to check any unassignments from the tagbox field. 

You can get the refId by opening up the List Item in Detail View and check the URL. 

Is Product 12346xxx Assigned?

JSON
{ 
  "kind": "TagboxItemUnassignedCondition", 
  "fieldpath":"productInformation.products", 
  "refId": "12346xxxx"
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.