ComplaintCase

Represents the association between a public complaint and its corresponding case. This object is available in API version 52.0 and later.

When a public complaint is raised on the portal, multiple department could be involved and each department can create a case record to track how the complaint is handled. For example, a hazardous chemical complaint can be handled by both the environmental agency and the fire department.

Supported Calls

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

Fields

CaseId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The name of the case that is associated with the complaint.

    This is a relationship field.

  • Relationship Name: Case
  • Relationship Type: Lookup
  • Refers To: Case

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user viewed this record.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The ID of the complaint being raised.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the complaint case record owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

PublicComplaintId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The name of the public complaint that is associated to the complaint being raised.

    This is a relationship field.

  • Relationship Name: PublicComplaint
  • Relationship Type: Lookup
  • Refers To: PublicComplaint

Associated Objects

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.

ComplaintCaseFeed
Feed tracking is available for the object.
ComplaintCaseHistory
History is available for tracked fields of the object.
ComplaintCaseOwnerSharingRule
Sharing rules are available for the object.
ComplaintCaseShare
Sharing is available for the object.