Error handling in Mule Salesforce Batch

前端 未结 1 478
星月不相逢
星月不相逢 2021-01-26 13:50

I am trying to load a set of Accounts into Salesforce from a CSV file. I have configured the usual Datamapper, Upsert SFDC Step with Batch Commit and a Batch Step that handles o

1条回答
  •  终归单人心
    2021-01-26 14:35

    In you can use #[getStepException()] MEL to get the exception Map.Later than you can use choice component based on the exception you wants to handle the logic. Refer:http://blogs.mulesoft.com/dev/mule-dev/handle-errors-batch-job/

    Make sure using , max failed record set to -1, so that flow wont be stopped and if failure happens in any record it will pass it to 'only failure' flow.

      
        
            
            
    
            
            
                
               
    
            
        
    
    

    0 讨论(0)
提交回复
热议问题