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
sundar s 24sundar s 24 

workflow piclist val

if the recordtype id is 0120g000000YTs1AAG or recordtype id is 012700000001YJjAAM and manager forcast is omitted and stage is other than 0.0 is the condition 
how to write workflow 
 
the below shows syntax error
 

 
(( RecordTypeId  == '0120g000000YTs1AAG' )   || (RecordTypeId  == ‘012700000001YJjAAM’  ))&& (ISPICKVAL( Manager_Forecast__c , 'Omitted') &&( Not ISPICKVAL(  StageName  , '0.0 Engage')))
VinayVinay (Salesforce Developers) 
Can you share screenshot of error message and more details?

Thanks,
Maharajan CMaharajan C
Hi Sundar,

Please remove and again add the single quotes in second record type condition... It's not the actual single quote...

(( RecordTypeId == '0120g000000YTs1AAG' ) || (RecordTypeId == '012700000001YJjAAM' ))
 
(( RecordTypeId  == '0120g000000YTs1AAG' )   || (RecordTypeId  == '012700000001YJjAAM'  ))&& (ISPICKVAL( Manager_Forecast__c , 'Omitted') &&( Not(ISPICKVAL(  StageName  , '0.0 Engage'))))

Thanks,
Maharajan.C