objectRecordHasDraft()
Overview
public boolean function objectRecordHasDraft(
required string objectName
, required string recordId
)
Returns whether or not the given record has draft
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object you wish to check |
recordId | string | Yes | ID of the object record you wish to check |