cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Messages from (async) ServiceTask

ralfedmund
Champ in-the-making
Champ in-the-making
I just implemented an asynchronous  ServiceTask that might produce a set of error messages due to "imperfect" data. Any error detected by this task rewinds the process to the former state using a modeled "failure" transition.

What's the best way to communicate the multiple problems that led to this failure in a way, that a UserTask may pick up this information to enable the user to fix these problems?

I tried to attach comments to the process instance, but this feels wrong.

Any help appreciated.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Store them in a list, and use a multi-instance task using that collection to create tasks for each message afterwards.