Loading

How to continue processing after an error occurs inside a foreach

Udgivelsesdato: Aug 8, 2024
Opgave

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.

Trin

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

Yderligere ressourcer
Sample projects:
Mule 3
Mule 4
Vidensartikelnummer

001114426

 
Indlæser
Salesforce Help | Article