So, I have a fairly large process here that I am working on that includes two Process Builders and a Visual Flow. While testing this process I am getting the An unhandled fault has occurred in this flow
error.
Process 1. When a Buyers_Order__c
gets marked signed (Picklist Field), it will update all of the associated Cap_Cost__c
records (Updating a checkbox to true). Then the second Process will Kick off on any Cap_Cost__c
that is modified to have that checkbox checked. The second process will simply just call the flow which is step 3. I am passing two variables into that flow, BuyersOrderID
and VinNumber
.
The flow will take the variables that were passed in and do a fast lookup to find any Cap_Cost__c
records that the BuyersOrderID
is not equal to the one passed in AND the VinNumber
is the same as the one that was passed in.
It will then loop through all of the records that were found and update a checkbox (Needs_Removed_Or_Modified__c)
on them to true.
Based on the below error message that I am receiving in my email, I believe that all of this is working up until the point where it tries to update that final record checkbox. Please let me know if you need to see any screenshots or need any further insight to this process.
Error element Update_Cap_Cost_Needs_Removed_Checkbox (FlowRecordUpdate).
The flow tried to update these records: null. This error occurred:
CANNOT_EXECUTE_FLOW_TRIGGER: The record couldn’t be saved because it failed
to trigger a flow. A flow trigger failed to execute the flow with version ID
30136000000JFoF. Flow error messages: An unhandled fault has occurred in
this flow
An unhandled fault has occurred while processing the flow. Please contact
your system administrator for more information. Contact your administrator
for help.. For details, see API Exceptions.
________________________________________
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: UpdateCapCostToNeedsRemovedForTrucksSoldByAnotherRep
Type: Autolaunched Flow
Version: 9
Status: Active
Flow Interview Details
Interview Label: UpdateCapCostToNeedsRemovedForTrucksSoldByAnotherRep
4/7/2017 10:38 AM
Current User: Concept Services (0053600000306H9)
Start time: 4/7/2017 10:38 AM
Duration: 1 seconds
How the Interview Started
Concept Services (0053600000306H9) started the flow interview.
Some of this flow's variables were set when the interview started.
BuyersOrderID = a023600000LQfSYAA1
VinNumber = TESTUNIT813515
FAST LOOKUP: FindCapCostRecords
Find all Cap_Cost__c records where:
VIN__c Equals {!VinNumber} (TESTUNIT813515)
Buyers_Order__c Does not equal {!BuyersOrderID} (a023600000LQfSYAA1)
Assign those records to {!CapCostsNeedingRemoved}.
Save these field values in the variable: Id
Result
Successfully found records.
DECISION: Cap_Cost_Found
Executed this outcome: CapCostWasFound
Outcome conditions: and
1. {!CapCostsNeedingRemoved} ([a063600000BhyXJAAZ]) Is null false
Logic: All conditions must be true (AND)
LOOP: Loop
Loop Through: [a063600000BhyXJAAZ]
Iteration: 0
Current value of {!CurrentCapCostID}: a063600000BhyXJAAZ
RECORD UPDATE: Update_Cap_Cost_Needs_Removed_Checkbox
Find all Cap_Cost__c records where:
Id Equals {!CurrentCapCostID.Id} (a063600000BhyXJAAZ)
Update the records’ field values.
Needs_Removed_Or_Modified__c = true
Result
Failed to update records that meet the filter criteria.
________________________________________
Error Occurred: The flow tried to update these records: null. This error
occurred: CANNOT_EXECUTE_FLOW_TRIGGER: The record couldn’t be saved because
it failed to trigger a flow. A flow trigger failed to execute the flow with
version ID 30136000000JFoF. Flow error messages: An unhandled fault has
occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact
your system administrator for more information. Contact your administrator
for help.. For details, see API Exceptions.
________________________________________
________________________________________
Salesforce Error ID: 707104115-31271 (-553726213)