Creating custom tasks

Hello,
I’d like to create new tasks specific for our purposes, as in bpmn:newTask, with Task as a superclass - is this possible? Or would I have to implement some other custom element/namespace, as in the custom elements example?

Thanks in advance!

Possible, but to do what with it? Why would you like to do this?

Hi,
We’ve been adding details to general tasks, and would instead like to add specific tasks with new, specific attributes but with the same connections to use instead.

Thanks!

[…] with the same connections to use instead.

Could you elaborate on this? Preferably show some source code to illustrate your idea.