---
schema_version: "1"
id: e04de41bb3f046cd95b8591b5ee67a764da0ee266819f2f540f98a859ae804c9
title: SwarmMember
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_swarmmember.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_swarmmember.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 879a75ff64a4f820ea2c0ce32b8dbc2ca6db87d7972b95f8ace39345e8e84143
description: Represents a Salesforce member, such as an agent, of a swarm. This object is available in API version 55.0 and later.
---
# SwarmMember

Represents a Salesforce member, such as an agent, of a swarm. This object is available in API version 55.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

To access this object for swarming in Salesforce, enable the Run Flows and Service Cloud User user permissions. For swarming in Slack, connect Salesforce to Slack and enable the Run Flows and Slack Service User user permissions.

## Fields

| Field | Details |
| --- | --- |
| AssignedDateTime | 
Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

Date and time the member is added to the swarm.



 |
| CompletedDateTime | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

Date and time the member exits the swarm or the swarm closes.



 |
| HelpNeeded | 

Type

textarea

Properties

Create, Nillable, Update

Description

Short description of the problem that the swarm is trying to solve.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Timestamp when the current user last accessed this record, a record related to this record, or a list view.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the swarm or record number.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

ID of the Salesforce user assigned to a swarm.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| RelatedRecordId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the record the swarm’s problem is related to. The record can be of, for example, a case, incident, sales opportunity, or change request.

This field is a polymorphic relationship field.

Relationship Name

RelatedRecord

Relationship Type

Lookup

Refers To

Account, Case, ChangeRequest, Incident, Opportunity, Problem, User



 |
| Status | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Status of the swarm member or swarm.

Possible values are:

- Closed
- In Progress
- New

The default value is New.



 |
| SwarmId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the swarm the member belongs to.

This field is a relationship field.

Relationship Name

Swarm

Relationship Type

Lookup

Refers To

Swarm



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[SwarmMemberFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[SwarmMemberHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[SwarmMemberOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[SwarmMemberShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.