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
Pavan Kumar 1141Pavan Kumar 1141 

How to write Formula in auto-launched-flows

Hi Everyone,
                    Can anyone help me out that how to write formula in auto launched flows.
For this formula,
AND(
OR(
AND(
NOT( ISBLANK( [Opportunity].eSignature_Sent__c )),
ISBLANK( [Opportunity].wSignature_Sent__c )),
AND(
NOT( ISBLANK( [Opportunity].wSignature_Sent__c )),
ISBLANK( [Opportunity].eSignature_Sent__c ))
),
ISBLANK([Opportunity].eSignature_Completed__c ),
ISBLANK([Opportunity].wSignature_Completed__c ))

I'm getting below error 
"EnvelopeSentFormula (Formula) - The formula expression is invalid: Syntax error. Missing '='"
AbhishekAbhishek (Salesforce Developers) 
Hi Pavan,

The article on Flow Formula Considerations

https://help.salesforce.com/articleView?id=flow_considerations_design_formulas.htm&type=5


For your further reference, you can check the below discussions too,

https://salesforce.stackexchange.com/questions/194999/formula-expression-is-invalid-syntax-error-missing

https://salesforce.stackexchange.com/questions/256384/the-formula-expression-is-invalid-syntax-error-missing-help-please

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks