-
1. Re: Prioritization
kukeltje Dec 10, 2005 5:42 AM (in response to anant)Priorities are not neccesarily controled by an actor. They can be set anywhere by any code. Is that what you need?
-
2. Re: Prioritization
ashkumar Dec 10, 2005 4:42 PM (in response to anant)based on my understanding of the problem, there is a very simple solution to it. You just want to assign priority to taskinstances for a particular user. They way to do this would be assign variable called priority for that taskinstance. This variable will be persisted in the jbpm database and will enumerate the priority for that particular taskinstance.
Regards, -
3. Re: Prioritization
anant Dec 13, 2005 8:38 PM (in response to anant)I don't want a priority associated with any user, but for processes that are travelling through the system from node to node. I am not using tasks at all. Is there still a way to use priorities?
-
4. Re: Prioritization
ralfoeldi Dec 13, 2005 9:19 PM (in response to anant)Hi 'anant',
just what would these priorities effect?
The execution of Tokens is deterministic. Either triggered by external events, by Timer execution or something else. Once these are executed the workflow proceeds till the signaled token has reached a wait state - it then waits for external input.
Exactly when should / could priorities decide / influence what Token to execute?
Greetings
Rainer -
5. Re: Prioritization
sforema Dec 13, 2005 10:54 PM (in response to anant)I agree with Rainer.
jBPM is just a workflow engine. It does not prioritize the execution/speed of tasks.
This would be something you would do outside jBPM.
My first job was a mainframe job (shhhh!). When you submited work to the mainframe/CPU, you submitted a list of things you want to perform in something called JCL, which could be thought of as "similar" to jBPM. This was put into a queue. This queue could be given CPU/processing priority, but the JCL itself was affected.
What I'm saying is that it isn't the worklow engine's job to do this, but it is possible to do it outside of it, but I doubt you would want to go to that amount of work...
Sean -
6. Re: Prioritization
ashkumar Dec 14, 2005 5:48 PM (in response to anant)Sounds like you need a rule engine and not a workflow engine.
-
7. Re: Prioritization
anant Dec 16, 2005 8:00 PM (in response to anant)That's what I was afraid of. Looks like we'll have to implement it ourselves.
Thanks for the info.