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
Mariana D'AbreuMariana D'Abreu 

Formula fields operators support

Hello,

I've seen used on Formula fields the following operator/code, which seems not to be supported, at least it is not mentioned on the Formula field documentation:

1) The '!' logical operator, i.e. !ISNEW()  (the documentation mentions only the NOT() function)
2) Reference a global variable wihtout enclosing it with {!}, i.e. $Api.Enterprise_Server_URL

Are the examples mentioned above supported by Formula fields?

Thanks in advance for any help on this.

Mariana
 
@Karanraj@Karanraj
Yes, both are supported in the formula field. You can test with the following formulas
!ISNULL( Name )
In formula field global variable will be always mentioned without {!}


 
Mariana D'AbreuMariana D'Abreu
Thanks!