Thursday, July 19, 2018

Check Case Status Picklist Values Marked as 'Closed' Or Not In Apex

In Order to retrieve the Case Status Picklist Values we have Standard Salesforce object "CaseStatus".
CaseStatus object represents a value in the case status picklist. Query the CaseStatus object to retrieve the set of values in the case status picklist.

SELECT Id, isClosed, MasterLabel FROM CaseStatus WHERE IsClosed = true

Check Bellow ScreenShot For More Information.

No comments:

Post a Comment