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
Michael PeddycordMichael Peddycord 

Bulk Apex Triggers unit Issues

Hello everyone! On the Bulk Apex Triggers Trailhead, I'm getting the error "Error Occurred: This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [Name]." in flow error emails. Can anyone help me troubleshoot this issue?

See below:
Flow Details
Flow Name: Renew_Opportunity
Type: Autolaunched Flow
Version: 1
Status: Inactive

Flow Interview Details
Interview Label: Renew Opportunity 4/11/2018 1:43 PM
Current User: Michael Peddycord (0056A000001jOSN)
Start time: 4/11/2018 1:43 PM
Duration: 0 seconds

How the Interview Started
Michael Peddycord (0056A000001jOSN) started the flow interview.

ASSIGNMENT: Update_Opportunity_Fields
{!opportunity.StageName} Equals Prospecting
{!opportunity.CloseDate} Equals {!ninetyDays}
Result
{!opportunity.StageName} = "Prospecting"
{!opportunity.CloseDate} = "July 10, 2018"

FAST CREATE: Clone_Opportunity
Create Opportunity records using the values that are stored in {!opportunity}.
Variable Values
[StageName=Prospecting,CloseDate=7/9/2018 5:00 PM]
Result
Failed to create records.

Error Occurred: This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [Name]. For details,
Pradeep SinghPradeep Singh
Hi,
Please check if you have missed Name in any of the queries from which you get the data. If not, please post the code here so that I can check whats wrong.
Waqar Hussain SFWaqar Hussain SF
Delete the old and inactive versions of Renew_Opportunity Process builder and then try again.
Michael PeddycordMichael Peddycord
Pradeep,  

   I'm not sure how to "post the code", since I'm just creating a flow and it's using the flash editor. Waqar, I tried deleting the old and inactive versions of Renew_Opportunity Process Builder and still got the same exact error.