+ Start a Discussion
SFDC pvSFDC pv 

Hi, Lead - IsConverted not working in Process builder

I have custom code written for Automatic lead conversion am invoking the class from the Process builder if Data Quality Score is 100 . In the same process builder if the below Criteria Satisfies am creating a case. 
User-added image
I have checked the option "Do you want to execute the actions only when specified changes are made to the record?"

If i include IsConverted as True in the Process builder Criteria its not creating case if i exclude that IsConverted field its creating case. Can someone tell what is the mistake here with Isconverted field.


 
ANUTEJANUTEJ (Salesforce Developers) 
Hi SFDC pv,

Are you getting any error email where you can check where the flow is failing? also, can try after unchecking the option ["Do you want to execute the actions only when specified changes are made to the record?"] and try replicating the issue.

Regards,
Anutej
 
SFDC pvSFDC pv
Hi ANutej,

I didn't get any error email also i checked in log there is no excpetion/error.I have unchecked the check box and checked its not working.
ANUTEJANUTEJ (Salesforce Developers) 
Can you once check if the condition is working alone without the rest values and also can you once check the type of the field 
SFDC pvSFDC pv
Hi ANutej,

If i have this Isconverted field alone in the criteria its not working. I tried removing only Isconverted field and have the remaining values its working. There is a problem with Isconverted field.  Is the problem because its non -exposed boolean flag field ?
Also I tried adding these criterias in Dfiferent process builder and checked still its not creating the record. This issue looks strange. 
ANUTEJANUTEJ (Salesforce Developers) 
Can you try creating a new boolean test field and check as this seems to be a field issue as you have stated in the previous comment, also, can you try checking if you have correct permissions.
SFDC pvSFDC pv
Hi Anutej, I tried that as well but no luck. As a workaround I checked if the convertedaccountId is not null instead of Isconverted boolean flag field its working.Thaks for all your help. 
ANUTEJANUTEJ (Salesforce Developers) 
Glad to help :)