The timer element should be used in the task element. Its purpose is monitoring the execution of this task.
If you want to create a timer upon entering a node, such as for instance a task-node, than you should add the create-timer action to the node-enter event.
Have a look at the docs.
Thanks Koen, but unfortunately moving the timer into the task appears to make no difference whatsotever. I still do not see any entries in the JBPM_TIMER table. I couldn't find anything in the docs to point out where I was going wrong.
Hm strange... What version are you working on?
Could you provide a JUnit test where you isolate this problem and attach it to a JIRA issue?