What This Table Is

The live_group_profile table maintains real-time metadata for Connect collaboration groups, storing group information like member counts, activity status, and group configuration. Each record represents a single collaboration group's current state, updated continuously as users join, leave, or interact within the group.

This table belongs to the Collaboration module and supports the end-to-end Connect messaging experience. It works alongside the messaging infrastructure to provide group discovery, member management, and real-time status updates that power the Connect chat interface.

The table extends the base sys_metadata table and has relationships with live_group_member for member tracking and live_message for message history. Groups can be public, private, or system-generated based on business context like incident response teams.

In large enterprises, this table typically contains hundreds to low thousands of records, with high read volume but relatively low write volume. Performance is optimized for real-time lookups by group ID and active status, making it suitable for frequent polling by Connect clients.

When You'll Script Against This Table

You'll primarily script against live_group_profile in Business Rules that respond to group lifecycle events, Script Includes that provide Connect integration APIs, and Scheduled Jobs that clean up inactive groups. Most access happens in global scope, though scoped applications can query groups they own or have access to.

Access requires the connect_user role for basic operations, with connect_admin required for administrative functions like creating system groups or modifying group security settings. Record-level security restricts access to groups where the user is a member or has explicit permissions.

  • Auto-creating incident response groups when P1/P2 incidents are opened
  • Querying group membership for custom notification logic
  • Building custom Connect widgets that display group activity
  • Archiving inactive groups based on last activity timestamps
  • Integrating with external chat systems by syncing group metadata
  • Generating reports on collaboration group usage and adoption
  • Implementing custom group discovery and recommendation engines

Table Gotchas

⚠️

Never delete live_group_profile records directly. Use the Connect API or set state to 'archived' - direct deletion can orphan messages and break member relationships.

  • The member_count field is automatically maintained by triggers and may not reflect real-time changes during bulk member operations
⚠️

Group names are not guaranteed unique across the system. Always query by sys_id or use name + context filters when precision matters.

  • The last_activity timestamp updates asynchronously and may lag behind actual message activity by several minutes
  • Queries filtering by description or topic fields without additional indexes can be expensive on large datasets
⚠️

Private groups have strict ACLs that prevent non-members from reading even basic metadata. Always check access before querying in user context.

  • System-generated groups (like incident response teams) have special lifecycle rules and shouldn't be modified manually
Free Newsletter

Enjoying this? Get one deep-dive per week.

Join 1,000+ ServiceNow pros — scripts, GlideRecord patterns, Flow Designer techniques, and career moves. Free.

No spam · Unsubscribe anytime

The live_group_member table is the most important relationship, storing individual user memberships and roles within each group. Every group query typically involves checking member relationships for access control and notification targeting. The live_message table contains the actual conversation content, with each message referencing back to the group profile.

Business context comes through relationships with task records (when groups are created for incident response), sys_user_group records (for department-based groups), and kb_knowledge records (for knowledge-sharing groups). These relationships enable automatic group creation and membership management based on business workflows.

The sys_user table connects through the created_by field and member relationships, while live_group_notification tracks notification preferences and delivery status for each group member.