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
lakshya agrawallakshya agrawal 

Create a validation rule to update ‘Export to OpenAir Approved’(Checkbox Field) to yes for any opportunity when Mirror Track ID(Text Field) is blank.

SwethaSwetha (Salesforce Developers) 
HI Lakshya,
Try
AND(
    ISBLANK(Mirror_Track_ID__c),
    NOT(ISBLANK(Export_to_OpenAir_Approved__c)) 
)

If this information helps, please mark the answer as best. Thank you
lakshya agrawallakshya agrawal
See This Swetha
User-added image
SwethaSwetha (Salesforce Developers) 
Try
AND(
ISBLANK(Mirror_Track_ID__c),
NOT(Export_to_OpenAir_Approved__c)
)

This will fire when Export_to_OpenAir_Approved__c is unchecked if Mirror_Track_ID__c is blank.

If this information helps, please mark the answer as best. Thank you
lakshya agrawallakshya agrawal
Shweta - But My requirement is to update ‘Export to OpenAir Approved’(Checkbox Field) to yes for any opportunity when Mirror Track ID(Text Field) is blank.
lakshya agrawallakshya agrawal
Shweta - But My requirement is to update ‘Export to OpenAir Approved’(Checkbox Field) to yes for any opportunity when Mirror Track ID(Text Field) is blank.
SwethaSwetha (Salesforce Developers) 
If that is the case, the validation rule is not applicable. Validations are used to ensure that the data entered into a record meets certain criteria and show a validation error message. Validation rules cannot be used to update fields.

Are you ok with using flows for field update?I can help you with it. Thanks
lakshya agrawallakshya agrawal
Shweta - Yes please help me with my same scenerio?
lakshya agrawallakshya agrawal
Shweta - Please help in this scenerio by using the flows for field update?
lakshya agrawallakshya agrawal
Shweta - Please Help
 
SwethaSwetha (Salesforce Developers) 
Sure. checking..
lakshya agrawallakshya agrawal
Yes Please early if possible
SwethaSwetha (Salesforce Developers) 
Create a record triggered flow

User-added image
User-added image
User-added image

If this information helps, please mark the answer as best. Thank you
SwethaSwetha (Salesforce Developers) 
@Lakshya, Have you been able to try this flow in your org? Let me know incase of any follow up queries