cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify running processes ?

danielbreitner
Champ in-the-making
Champ in-the-making
Hi everybody,

I have the following issue:

I have a process, that, at a certain point, creates a UserTasks. Several of these tasks can be created.

They will be "completed" programmatically - one at a time.

Is there any way to determine whether a Process is running (means: complete() has been called) or just "waiting" for the UserTask to be completed ?
3 REPLIES 3

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
no.. not that I know of… What is the usecase?

danielbreitner
Champ in-the-making
Champ in-the-making
The usecase is to create some kind of queue:

All processes have a UserTask at the beginning and our queue will pick one after another and complete them.

If there is no way to determine if a process really is running, we need to think about other ways…

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I still don't get the usecase. If there is a usertask, the process is 'instantiated'/'active'/'running'.  That there is at that moment either a or no thread doing anything for a process instance should not matter should it?

What you describe is a technical usecase, almost a possibble solution. But I'd like to hear the functional usecase.