You need to sign in to do that
Don't have an account?
Ashley Leifer
A flow trigger failed to execute the flow with version ID....error when trying to batch update contacts
I created several process builder proceeses around check boxes on the contact object. I wanted to trigger these to update in mass so I created a hidden checkbox field on the contact object called 'Mass Update', set the value to true for all and trying to do an update. I got the error: The record couldnt be saved because it failed to trigger a flow. <br>A flow trigger failed to execute the flow with version ID 30116000000PPKL. <br/> Contact your administrator for help.
I don't have any active conflicting workflow rules on these fields. When I tested the active processes they all individually worked. Why am I getting this for all 16K contacts i'm trying to update using Jitterbit?
I don't have any active conflicting workflow rules on these fields. When I tested the active processes they all individually worked. Why am I getting this for all 16K contacts i'm trying to update using Jitterbit?
Did you get an email containg this error message and the error caused by reason? it consists of error details. If you can share that so we can help you to resolve the issue.
Sample:
I get this error in the page:
"The record couldn’t be saved because it failed to trigger a flow.
A flow trigger failed to execute the flow with version ID XXXXXX.
Contact your administrator for help."
Also, as an admin, I get an email that says:
"Encountered unhandled fault when running process <lightning process name here>/XXXXXXX exception by user/organization: XXXXXXXXv8/{4}
Cannot submit object already in process.
caused by element : FlowActionCall.myRule_1_A1
caused by: Cannot submit object already in process.
Salesforce Error ID: 616817129-17288 (978718756)."
Thanks,
Pratik
No I didn't get an email because I was using Jitterbit to do a mass update on all records on the contact object to trigger the flows I'd created. The update returned this error on all the records in the jitterbit error report. That's all it said in Jitterbit : The record couldnt be saved because it failed to trigger a flow. <br>A flow trigger failed to execute the flow with version ID 30116000000PPKL. <br/> Contact your administrator for help.
When I had tested the processes manually on a new record after I created it they were triggering just fine.
I had ran into this previously and found it was because there was a conflicting workflow rule but that isn't the case this time.
Not sure how to troubleshoot otherwise to get an email with more details, ideas?
Thanks
Ashley
Is this something I can get help with? Should i just revert to making a bunch of workflow rules instad? Seems like process builder is breaking a lot with these errors. I'd appreciate any suggestions or advice out there!
Thanks
Ashley
Looks like this is a known issue.
I too encountered a similar problem but later I was able to rectify it by the following e-mail , at the bottom of every mail there will be error caused by reason
Error Occurred During Flow "Campaign_history_4": INSERT --- INSERT FAILED --- ERRORS : (STRING_TOO_LONG)..
An error occurred at element myRule_1_A1 (FlowRecordCreate).
INSERT --- INSERT FAILED --- ERRORS : (STRING_TOO_LONG) Campaign Name: data value too large: 70128000000RuVGAA0 (max length=15),
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: Campaingn_history
Type: Workflow
Version: 1
Status: Active
Flow Interview Details
Interview Label: Campaingn_history-1_Campaign
Current User: Bhaskar Kummara (00528000000UZIc)
Start time: 12/09/2016 09:44
Duration: 0 seconds
How the Interview Started
Bhaskar Kummara (00528000000UZIc) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 70128000000RuVGAA0
myVariable_current = 70128000000RuVGAA0
RecursiveCountVariable = 0.00
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "12/09/2016 09:44"
DECISION: isChangedDecision2_myRule_1_EventName_c
DECISION: isChangedDecision3_myRule_1_Name
Executed this outcome: isChangedRule_3_myRule_1_Name
Outcome conditions: and
1. {!myVariable_old} (70128000000RuVGAA0) Is null false
2. {!myVariable_old.Name} (IT Campaign) Does not equal {!myVariable_current.Name} (ITCampaign)
Logic: All conditions must be true (AND)
DECISION: isChangedDecision4_myRule_1_Description
DECISION: myDecision
Executed this outcome: myRule_1
Outcome conditions: or
1. {!isChangedRule_2_myRule_1_EventName_c} (false) Equals true
2. {!isChangedRule_3_myRule_1_Name} (true) Equals true
3. {!isChangedRule_4_myRule_1_Description} (false) Equals true
Logic: One condition must be true (OR)
RECORD CREATE: myRule_1_A1
Create one Campaign_History_Status__c record where:
Campaign_Name__c = {!myVariable_current.Id} (70128000000RuVGAA0)
Description__c = {!myVariable_current.Description} (Test Campaign for Merit Trade Expo)
Name = {!myVariable_current.EventName__r.Name} (Merit Trade Expo)
Target_Contacts__c = {!myVariable_current.Estimated_Contacts__c} (5)
Result
Failed to create record.
Error Occurred: INSERT --- INSERT FAILED --- ERRORS : (STRING_TOO_LONG) Campaign Name: data value too large: 70128000000RuVGAA0 (max length=15), ----------------------------------------------------------this was the custom field which i was referencing to standard field which later , increased length which solved my issue.
If you created or enabled the flow in the last 6 months, download the audit trail .csv file and then search the ID.
I got this email...please help me
Error element myRule_1_A1 (FlowRecordCreate).
This error occurred when the flow tried to create records: REQUIRED_FIELD_MISSING: Required fields are missing: [AccountId]. For details, see API Exceptions.