Timeline for Illegal argument when passing Lead to InvocableMethod method
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20, 2020 at 11:43 | vote | accept | Pablo Gonzalez | ||
Sep 8, 2020 at 15:50 | comment | added | wesaw | Ran into similar issue. Turns out selected picklist value returned by a flow is not a string but some flow wrapper class around it. So in my case it helped just to wrap all picklist fields on sobject into String.valueOf(record.picklist__c) before actually calling any string specific methods on values. | |
Sep 21, 2019 at 15:45 | history | answered | Pablo Gonzalez | CC BY-SA 4.0 |