When using invokable apex and you’re passing in an object or list of objects you might get this error: “A field wasn’t found or isn’t supported for Apex action” For me it was the Billing fields on the Contract but the quick fix is basically when you build your list of records do not select…
Tag: salesforce
VS Code will not launch Chrome to Authenticate new Project
If you cancelled out or for whatever reason cannot get VS Code to launch a new browser window to authenticate your org do the following from command line: lsof -i tcp:1717 kill -9 <the process ID> Instructions are here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_troubleshoot_cancel_auth.htm Sounds easy to remember…but then a couple months pass and here I sit wondering why I…
Silly Dev Trick: Apex Flex Queue with Web Callouts
More of a watch out for this but when using Apex Flex Queue with classes that do web callouts you have to add ‘Database.AllowsCallouts’ to your queueable class like so: public class ExampleQueueableClass implements Queueable, Database.AllowsCallouts{ This got me but after the usual hunt and peck the googles answered the call: https://salesforce.stackexchange.com/a/216346/17245 This is the error the…