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
Peter CowenPeter Cowen 

count public comments

I wonder if anyone is able to assist.

I am trying to do a formula to display a number depending on a certain number of fields. 

The fields are:
(Parent.RecordType.DeveloperName = ServiceDesk
UseRole.Name = Service Desk
Casecomment.IsPublished = True 

Then if all these fields match display 1 else 0 

Or I would like it to display the number 1 if comment is from one of the servicedesk team and is public