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
Calin Constantin BostanCalin Constantin Bostan 

validation rule for Ideas

Hi,

I am struggling with the great object "Ideas". We are using 2 zones (zone A & zone B). And I want to create a validation rule that restricts users based on profile name to be able to post Ideas on both zones.
And if possible another validation rule - the owner of the idea and the system admin to be the only ones that can edit and delete an idea.
Bellow you can find all the fields that we are using in the Object.
Thank You,
User-added image
Dev_AryaDev_Arya
Hi Calin,

I beleive both the requirements you have mentioned can be achieved without using validation rule.
1. " create a validation rule that restricts users based on profile name to be able to post Ideas on both zones."
      On the profile level (if its a custom profile), remove the create permission from Ideas object
2. "the owner of the idea and the system admin to be the only ones that can edit and delete an idea."
OWD settings public read only.

I hope this will work.

If this helps, please mark the solution as green.
Cheers, Dev