Monday, 17 July 2017

Field Inaccessible - Salesforce Package installation

Field Inaccessible Error

I was visiting a customer last week who kept seeing an error message declaring that a 'field ABCXYZ' is inaccessible.

The strange thing was that this field was not actually on the page layout, or visible in the field editor within the Object editor.


This blog talks through how I tracked down and fixed this issue.

Tuesday, 11 July 2017

ProcessBuilder and Bulkification

ProcessBuilder and Bulkification - Tread Carefully

Since it's launch, Process Builder from Salesforce has gained a lot of functionality. 

In many cases, it can now be used to automate actions that were only previously available with a custom Apex Trigger - in some instances!

The full list of functions possible in Process Builder are listed on this page but some of the most common requirements are:
  • Create a record
  • Update any related record—not just the record or its parent
  • Use a quick action to create a record, update a record, or log a call
  • Invoke a process from another process
  • Launch a flow—you can’t schedule this action with workflow
  • Send an email
  • Post to Chatter
  • Submit for approval
The ability to update related record(s) is one of the most popular features, but it comes with a caveat.