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.
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.
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?
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
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.
I'll verify that in 3.2.2 I get no task-start log entries either. It's a bug in my estimation.