Print this page

Is it possible to assign a Null Value to a Lookup field with Process Builder?

Knowledge Article Number 000212491
Description Process Builder throws an error when you assign a Null value to a Lookup field while using it in field update/record create action.
Steps to reproduce:
  1. Go to Setup | Create | Workflows & Approvals
  2. Go to Process Builder
  3. Select your Process
  4. +Add Action
    • Update Records
    • Object = [your Object]
    • Field: [your Lookup Field] = Use {!$GlobalConstant.EmptyString} or Leave this blank
  5. Save
When you try the above mentioned steps, you will get an error message:

Error 1: If the field is left blank >
"This field is required."

Error 2: If using {!$GlobalConstant.EmptyString} >
"The value for this field type must be a 15- or 18-character Salesforce ID. For example, 5003000000D8cuI."

Resolution This is a limitation with ID type fields in the Process Builder in Spring 15. However, we will be addressing this in a later release.

promote demote