createTagGroup
Create a new tag group to organize tags into themes. Ensures no duplicate group names to avoid ambiguity.
Instructions
Create a tag group - Create a new taggroup record. Writes live data.
Use when: organizing tags into new themes (e.g., "Skill Level", "Service Area"). Rare.
Required: group_tag_name, added_by, updated_by.
Pre-check before create: BD does NOT enforce uniqueness on group_tag_name. Duplicate group names cause tag-manager ambiguity (admins can't tell which group a tag belongs to) and break filters that select by group name. Do a server-side filter-find: listTagGroups property=group_tag_name property_value=<proposed> property_operator==. Zero rows = name free; >=1 row = taken. Do NOT paginate unfiltered lists - filtered lookup is one tiny response. If taken: reuse via updateTagGroup, OR ask the user, OR pick an alternate group_tag_name and re-check. Never silently create a duplicate.
See also: updateTagGroup (modify existing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_tag_name | Yes | ||
| added_by | Yes | ||
| updated_by | Yes |