objectRecordHasDraft()

Overview

public boolean function objectRecordHasDraft(
      required string objectName
    , required string recordId  
)

Returns whether or not the given record has draft

Arguments

NameTypeRequiredDescription
objectNamestringYesName of the object you wish to check
recordIdstringYesID of the object record you wish to check