function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Process Builder Error

Were trying to create a record from Lead to Contacts where it takes all the fields off the leads and creates a Contact record with them. Were are getting this error when trying to create the record. ANY help would be much appreciated.

An error occurred at element myRule_1_A1 (FlowRecordCreate).
The flow failed to access the value for myVariable_current.clientname__r.City__c because it hasn't been set or assigned.

This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange.

Flow Details
Flow Name: Referral_to_contact
Type: Workflow
Version: 3
Status: Active

Flow Interview Details
Interview Label: Referral_to_contact-3_Lead
Current User: Suman Mothukula (005J0000005kqMv)
Start time: 2/9/2016 10:31 AM
Duration: 0 seconds

How the Interview Started
Suman Mothukula (005J0000005kqMv) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = null
myVariable_current = 00QJ000000AlO5uMAF

ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
{!myVariable_waitStartTimeVariable} = "2/9/2016 10:31 AM"

Please and thank you in advance. we are really stuck
Michał Zadrużyński 2Michał Zadrużyński 2
clientname__c on Lead(?) is null and you are trying to dereference it. You need to first check if it's not null and only then read values. Did you secified all fields from one object to be copy to another? If uyou pase here screen of Process then maybe I can provide you better help.