AnsweredAssumed Answered

Flushing process instance attachments to database within tx

Question asked by wsalembi on May 22, 2013
Latest reply on May 23, 2013 by jbarrez
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.

Outcomes