you could try writing an actionhandler that on the task-create event also starts it. Not sure if it works, but giving it a try won't hurt
ok, thanks kukeltje, I thought it was an attribute or something that could make the task "autostartable"
Thanks for your reply again.
We wanted to auto end a task. So we added an action which called taskInstance.end() after it had done some work. We had to add this action to a timer, then it worked fine.
When adding it to a task-create event, it threw a locked Token exception?
Correct, it is impossible to start and end a task at the same time.