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
Shreya Singh 36Shreya Singh 36 

Rule to stop record creation for account if type is not prospect

Arun Kumar 1141Arun Kumar 1141
Hello Shreya Singh,

We can create a validation rule for Account object.
AND(
    ISNEW(),
    ISPICKVAL(Type, 'Prospect')
)
ISPICKVAL() will check Account type and ISNEW() will check if any new record is being created.

Please mark it as best answer, if the above solution helps you.
Thank you.