Table of Contents
Tagbox Item Assigned Condition
Table of Contents
The condition Tagbox Item Assigned checks whether a specific tagbox item ("a tag") is assigned to a specific field, e.g., Check if the tag "Twitter" is assigned to the field "SocialMediaPlatforms" on Layer "CopyrightUsages" to use this image on Twitter. The Business Rule checks whether the provided Tagbox Item is assigned to any Content Item and triggers this immediately, e.g., if the tag "Dealer Portal Europe" is assigned, apply the view permission for European dealers.
Triggers when a tagbox item is found in the provided Tagbox, either any value (leave refId empty) or a specific value (provide refId).
The Condition “Tagbox Item Assigned” is true when the Item is assigned and remains assigned. If you want the business rule to trigger only when the item is assigned, then you must combine “Field Value Change” and “Tagbox Item Assigned”.
Use Tagbox Item Assigned, AND/OR to check whether multiple tags are assigned.
{
"kind": "AndCondition",
"conditions": [
{
"kind": "TagboxItemAssignedCondition",
"refId": "123556..."
},
{
"kind": "TagboxItemAssignedCondition",
"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 | TagboxItemAssignedCondition |
| 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 assignments 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?
{
"kind": "TagboxItemAssignedCondition",
"fieldpath":"productInformation.products",
"refId": "12346xxxx"
}