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
Adeline MooreAdeline Moore 

Need Code help in my Process Please?

User-added image
I need this TASK process to only happen when the lead is requesting Canis Major/Canis Minor Program. Im haing trouble finding the right "Function, Variable and Operator.
Nayana KNayana K
Assuming you have some field say Program__c picklist having 'Canis Major' and 'Canis Minor' as values. Then

AND(NOT(ISBLANK([Lead].Email), OR(TEXT([Lead].Program__c) == 'Canis Major', TEXT([Lead].Program__c) == 'Canis Minor' ))

If Program__c is text field then
AND(NOT(ISBLANK([Lead].Email), OR([Lead].Program__c == 'Canis Major', [Lead].Program__c == 'Canis Minor' ))
Adeline MooreAdeline Moore
@nayana K The field on the lead is "Requesting" "is" "Canis Minor/Canis major program"
Nayana KNayana K
AND(NOT(ISBLANK([Lead].Email)), [Lead].Requesting__c == 'Canis Minor/Canis major program')
Are you looking to something like above?
Adeline MooreAdeline Moore
@nayana K I tried your formula in my process but get the below error 
User-added image
Nayana KNayana K
AND(NOT(ISBLANK([Lead].Email)), TEXT([Lead].Requesting__c) == 'Canis Minor/Canis major program')