Loading

How to continue processing after an error occurs inside a foreach

Дата публикации: Aug 8, 2024
Задача

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.

Действия

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

Дополнительные ресурсы
Sample projects:
Mule 3
Mule 4
Номер статьи базы знаний

001114426

 
Загрузка
Salesforce Help | Article