Camunda Parallel UserTask

Hi, Consider i have MultiInstance UserTask with More than 3 stages. Each stage has different process Variables with different timer values. How to differentiate the variables.

Stage1 = " Food Order "
Stage2 =" Invoice Generation " Both are parallel. Each stage has timer1 = 5, timer2=10. but i have one timer boundry event. How this can be done using Camunda.

CamundaMsgDemo.war

Hi @Venkatesh_Manoj

Different timers.

Can you share the model you have so far?

Josh

Consider in the check details service Task have a list with 3 values & creates 3 user task at a time. UserTask has to trigger the timer when a specific stage reaches the time.

for example

List has [ A → 5 Mint , B → 3 Mints , C → 15 Mints ]

A is a stage Name
Time is given in mints. how can i take a specific time for specific stageName. Now, How can i iterate & how camunda supports in this case ?

Try an embedded sub process multi instance which wraps the user task and on the user task you can have separate different timer boundary Events.

Inside the parallel subprocess, there will be a locally scoped variable instance that you can access with FEEL expression to set the timer value.

(thanks to @Zelldon for the suggestion)

1 Like