Engagement Class
Stores the object name and ID of an engagement record. An engagement record represents an
engagement interaction, a messaging session, or a voice call between a customer and an
agent.
Namespace
Engagement Constructors
Use the Engagement constructor to initialize the
Engagement class that associates an engagement record ID
with the API name of the engagement object.
The Engagement class includes these constructors.
Engagement(recordId, objectApiName)
Creates an instance of the DataRetrieval.Engagement
class to associate an engagement record ID with the API name of the engagement
object.
Signature
public Engagement(String recordId, String objectApiName)
1DataRetrieval.Engagement, newinstance, [String, String], DataRetrieval.Engagement