-
1. Re: Log for task start in jbpm 3.3.1.GA
tom.baeyens May 29, 2009 9:27 AM (in response to osvaldo.pina)isn't this the same as the start process ?
why is this different ?
afaict (but it's a long time ago) that was the reason. cause it's the same information as the start process log. -
2. Re: Log for task start in jbpm 3.3.1.GA
osvaldo.pina May 29, 2009 6:07 PM (in response to osvaldo.pina)I deployed a very simple process with just one task:
<?xml version="1.0" encoding="UTF-8"?> <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="simple"> <start-state name="start"> <transition to="task-node1"></transition> </start-state> <task-node name="task-node1"> <task name="task1"></task> <transition to="end"></transition> </task-node> <end-state name="end"></end-state> </process-definition>
and then I started an instance of this process and finished it tracing the logs for every action:
logs for action -> Start a new instance:
id_ = 6, class_= I -> ProcessIstanceCreateLog
logs for action -> Signal:
id_ = 7, class_= S -> SignalLog
id_ = 8, class_= T -> TransitionLog
id_ = 9, class_= 1 -> TaskCreateLog
logs for action ->Task start:
nothing was logged!
logs for action ->Task end:
id_ = 10, class_= 3 -> TaskEndLog
id_ = 11, class_= S -> SingalLog
id_ = 12, class_= N -> NodeLog
id_ = 13, class_= T -> TransitionLog
id_ = 14, class_= X -> ProcessInstaceEndLog
So, unless I missed some configuration, task starts are not being logged.
regards,
Osvaldo -
3. Re: Log for task start in jbpm 3.3.1.GA
osvaldo.pina Jun 2, 2009 5:33 PM (in response to osvaldo.pina)
I think there is no relation between task starts and process start (maybe for the task on the start state when its configured). The non existence of the task start log is a bug? -
4. Re: Log for task start in jbpm 3.3.1.GA
kukeltje Jun 3, 2009 7:02 AM (in response to osvaldo.pina)you have no start task in your process, just a start-state and as Tom posted the start of an empty start-state is the same as the start of the process. It is the same as leaving the start-state out and using the initial attribute on the process-definition pointing to the first task-node
-
5. Re: Log for task start in jbpm 3.3.1.GA
osvaldo.pina Jun 3, 2009 6:44 PM (in response to osvaldo.pina)
I'm not talking about start-state task, I'm talking about other tasks that reside inside regular task nodes(in my example above the task1 in task-node1). Their starts are not being logged. The natural lifecycle of a task is to be created, started and then to be ended, as it is writing in the documentation, so I think that it is strange that the log keeps track of a task creation and end but not its start.
Regards
Osvaldo. -
6. Re: Log for task start in jbpm 3.3.1.GA
brittm Jun 3, 2009 11:21 PM (in response to osvaldo.pina)I'll verify that in 3.2.2 I get no task-start log entries either. It's a bug in my estimation.
-
7. Re: Log for task start in jbpm 3.3.1.GA
osvaldo.pina Jun 24, 2009 9:41 PM (in response to osvaldo.pina)I opened an issue (http://jira.jboss.org/jira/browse/JBPM-2358) and attached the code that I developed as a proposed solution.