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
Zach SmithZach Smith 

Check IF created date is today or if Connection User

I am trying to find a way to have the following validation run ONLY if the created date is not today, or if a connection user (salesforce to salesforce) is making the update:

 

ISPICKVAL(Status__c, "Pending")

 

We have a picklist "status", and I want an error to display forcing the user to change the status from "Pending" unless the record was created today, or if a Connection user is trying to modify the record. Is this possible???

 

Thank you in advance for your assistance... my programming of IF/ELSE is a little out of date :(