Loading

How to continue processing after an error occurs inside a foreach

Date de publication: Aug 8, 2024
Tâche

GOAL

You want to continue processing inside a for-each scope, even tough an error occurred while processing one of the elements in the collection. The behaviour of this scope is that if one of the elements in a collection throws an exception, the For Each scope stops processing that collection and invokes the error handler. More info here.

Étapes

PROCEDURE
You may use a private flow for the content of the for-each with its own exception strategy. Then, the exception will be handled in the private flow and the parent flow should be able to continue. 

User-added image

Ressources supplémentaires
Sample projects:
Mule 3
Mule 4
Numéro d’article de la base de connaissances

001114426

 
Chargement
Salesforce Help | Article