0

I have a custom object " Quotation" with some field values i have taken on the detailed page from its child object " Car". I have used process builder for that on the child object " Car". Now, i want to update values on a field in the object " car", i used the data loader ( as well as from view mode in SF on Car object) , but everytime it shows errors, showing a process flow exists and failed to trigger", when i deactivated the PB i can update , But i cant , as i simultaneously need to update the field values in the " Quotation" object. I can't deactivate the PB.

For making the vallues auto populate in the Quotation object, i need to have the mass update on the child Car object. Can anyone plz let me know why i am getting an update error while a PB exists and how to fix this, Thanks

13
  • everytime the PB fails you get an email from salesforce that is the log of the error you can debug from that. Secondly can you share the conditions that you have listed to trigger the PB? Commented Jan 3, 2017 at 8:24
  • Hi Sagar, Sure, I got the below errormessage. An error occurred at element myRule_1_A1 (FlowRecordUpdate). UPDATE --- UPDATE FAILED --- ERRORS : (ALL_OR_NONE_OPERATION_ROLLED_BACK) Record rolled back because not all records were valid and the request was using AllOrNone header --- for SFDC record with ID : a02280000096mibAAA
    – sourav
    Commented Jan 3, 2017 at 8:28
  • What are the conditions that trigger this PB? And do you have any apex trigger defined on the same object? Commented Jan 3, 2017 at 8:29
  • Its showing not all records are valid, But i think it should show me error only when the relared records not valid, and rest should be success, isnt it. Also, in my Data loader setting the batch size showing 200. Is that somthing to do with this ? Do i have to chaange the batch size? I couldnt understand the batch size number, If aanything to do with this ?
    – sourav
    Commented Jan 3, 2017 at 8:30
  • The records are not getting saved from data loader as you have active process builder process defined. If the conditions are not met by PB during data loader upload the error ( records are not vaild) will be thrown. Can you share you entry criteria of Process Builder, I suspect your records are not qualifying the Process Builder's conditions. Commented Jan 3, 2017 at 8:33

1 Answer 1

1

The problem you are facing is already raised for solution on IdeaExchange https://success.salesforce.com/ideaView?id=0873A000000lEPRQA2

If any of the record fails the Active Process in Process Builder all the records are rolled back , that is because there is no option to deactivate the AllOrNone flag. Best is to make your data load batch size to 1 and it will resolve your issue.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .