• Candice Chu 19
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies

Hi
I have built out a process builder flow that triggers when a task is created and meets criteria. 

User-added image


It will then follow to update a custom field Dials on related object Opportunities that is defaulted as "0" to increment +1 if criteria met.

I successfully get the field to increment from 0 to 1 however cannot seem to get it to fire for 1 to 2.  


User-added image


I cannot use formula Dials + 1, since it's pulling from the Task field.

Any ideas how I can get this cross object logic to increment from 1 to 2 and so forth?  

 

Hi 
We are currently having issues in our environment where we've gone and created 2 Process Builders pulling from Task and then updating on the Contact.  

Error element myRule_1_A1 (FlowRecordUpdate).
The flow tried to update these records: 0032A00002VB8EmQAL. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: Record rolled back because not all records were valid and the request was using AllOrNone header. For details, see API Exceptions.

More so, we are having issues with the flows when lead conversion happens.  

Error: System.DmlException: Update failed. First exception on row 0 with id 00T23000005q7a7EAA; first error: 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 301230000000VKM. Flow error messages: <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.: [] Class.leadconvert.BulkLeadConvert.updateLeadTasks: line 1279, column 1 Class.leadconvert.BulkLeadConvert.convertLead: line 127, column 1

We've concluded that we get these errors when the Lead has more than 10 or 20 tasks related.  Those tasks in particular are the ones that trigger our Process Builder.  

We tried to diagnose the issue in Sandbox as well.  Based on posts I've read it's possible that we are hitting limitations

Does anyone have any suggestions aside from creating an Apex Trigger to do this?