Job schedulling for handling UserTasks in Camunda7

Hi Team,

I am planning to perform a performance testing on a Workflow that has both user tasks and service tasks. Since we have user tasks, I was thinking to make use of a job scheduler, where it can poll every 1 min and check for any user tasks present and automatically take action on those.

2 questions:
Is this job scheduling possible in Camunda7?
Is it possible to get the tasklist APIs that can help in this excersise?

Thanks in advance

Hi @Saju_John_Sebastian1,

the process engine GitHub repo contains a performance test framework, where user tasks gets completed when they are created.

You can find more about it here: camunda-bpm-platform/qa/performance-tests-engine at master · camunda/camunda-bpm-platform · GitHub

Hope this helps, Ingo

2 Likes

thanks @Ingo_Richtsmeier
I will have a look at it.

Out of curiosity, is it possible to make use of job scheduler to process every User tasks (every 5mins) and complete them in camunda 7.

Hi @Saju_John_Sebastian1,

you could deploy a process like this to do it:

If you want to do more with the user task, you can replace the multi-instance service task with a multi-instance subprocess and include more processing logic here.

Hope this helps, Ingo

1 Like

hello @Ingo_Richtsmeier , i tried this timer event with Cycle(R/PT15S) but just one time creates process instance. why ? if so normally every 15 seconds at create one more process instance? but not working only 1 process intance creating.
image

best regard.