Manipulate variable

I have a process as shown below

While starting the process I set two variables totalImages and imagesProcessed

Initially totalImages will be N (represents any number) and imagesProcessed will be 0

Whenever I receive ImageTranscriptionEvent message event, I want to increment the imagesTranscribed by 1.

I tried using FEEL expression = number(imagesProcessed) +1 but it expects the ImageTranscriptionEvent message to return imagesProcessed variable.

Can we manipulate variables like this? Any other way to implement this

Hi Ankit, does this post and the resources in it help you solve this? Message aggregator example BPMN

Josh

Thanks Josh, it helps.

1 Like