function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manisha sahumanisha sahu 

WHEN I try to close the case THEN I receive an error message when trying to save if I don't have the Topic field populated

AND( 
RecordType = "Costing",
ISPICKVAL( Status , "Closed"),
ISBLANK(Topic__c) 
)
Error: Field Topic__c is a picklist field. Picklist fields are only supported in certain functions.
How should i populate the topic field as it is a picklist.
Please help!!
Best Answer chosen by manisha sahu
VinayVinay (Salesforce Developers) 
Hi Manisha,

You can try below.
AND( 
RecordType = "Costing",
ISPICKVAL( Status , "Closed"),
ISBLANK(TEXT(Topic__c)) 
)

Please mark as Best Answer if above information was helpful.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Manisha,

You can try below.
AND( 
RecordType = "Costing",
ISPICKVAL( Status , "Closed"),
ISBLANK(TEXT(Topic__c)) 
)

Please mark as Best Answer if above information was helpful.

Thanks,
This was selected as the best answer
manisha sahumanisha sahu
Hi vinay
 Thank you very much!!