+ Start a Discussion
Kelsey BaustianKelsey Baustian 

flow failing because of required field

Hi folks! I'm having an issue where a flow is failing. The flow kicks off when an opportunity is marked as Closed Won. It's triggered by a Process Builder. 
The Process Builder collects the following variables:
User-added imageThe debug log says that the cr_RenewalOpportunity node in the Flow is failing because the required field Close Date is missing. 
14:46:54.242 (5656788028)|FLOW_BULK_ELEMENT_END|FlowRecordCreate|cr_RenewalOpportunity|0|59
14:46:54.242 (5667458037)|FLOW_VALUE_ASSIGNMENT|1611cc4c1048e8e717356fa030b717ce20f4498-6e77|error.errorId|1983635415-277147 (1644796487)
14:46:54.242 (5667482577)|FLOW_VALUE_ASSIGNMENT|1611cc4c1048e8e717356fa030b717ce20f4498-6e77|error.type|FLOW_INTERVIEW_SAVE_RESULT
14:46:54.242 (5667490849)|FLOW_VALUE_ASSIGNMENT|1611cc4c1048e8e717356fa030b717ce20f4498-6e77|error.apiErrorCode|REQUIRED_FIELD_MISSING
14:46:54.242 (5667498783)|FLOW_VALUE_ASSIGNMENT|1611cc4c1048e8e717356fa030b717ce20f4498-6e77|error.message|This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [CloseDate]. You can look up ExceptionCode values in the SOAP API Developer Guide.
14:46:54.242 (5667508858)|FLOW_VALUE_ASSIGNMENT|1611cc4c1048e8e717356fa030b717ce20f4498-6e77|error.endUserMessage|This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [CloseDate]. You can look up ExceptionCode values in the SOAP API Developer Guide.
14:46:54.242 (5807848268)|FLOW_ELEMENT_ERROR|This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [CloseDate]. You can look up ExceptionCode values in the <a href='https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm#'>SOAP API Developer Guide</a>.|FlowRecordCreate|cr_RenewalOpportunity
14:46:54.242 (5808114880)|FLOW_START_INTERVIEWS_END|1
14:46:54.242 (5810250904)|FLOW_ACTIONCALL_DETAIL|1581cc4c1048e8e717356fa030b717ce20f4498-6e59|myRule_11_A1|Flows|Renewal_Opportunity_Creation|false|An error occurred when executing a flow interview.
However, I have it set up to use the variable from the Process Builder:
User-added image
Is there any way to look further to see what the issue might be, or does anyone have any ideas? Thanks in advance!
Kelsey BaustianKelsey Baustian
I'll also add that if I run the flow in debug mode, it works just fine.