GenericSObject

API Name: GradientWorks__GenericSObject

A convenient wrapper around an SObject of any type (e.g a User, Account, Lead, etc). This makes it easy to write generic actions that access information about the object regardless of type. For example, you can use name or detailUrl in an email or slack message without having to know anything about the actual SObject.

Properties

NameTypeDescription

detailUrl

String

The Salesforce URL to visit to see the object.

id

Id

The Id of the SObject

name

String

A friendly name for the SObject. This is usually the Name field but may be different for other objects like Case which don't have defined Name field.

realSObject

SObject

The actual SObject

typeName

String

The name of the SObjectType (e.g. Account, User, etc)

Last updated