Process instance attachments created in one Service Task are not visible in the following Service Task, because apparently they are only flushed to the database at the end of a transaction. Is this the desired behavior?
Is there any way to force a flush? The attachments don't need to be committed but a flush before query seems appropriate if the following tasks want a consistent view of the attachments created?
My current workaround is to define the next Service Task asynchrounous to force the tx commit. But this is not my intended behavior.