Hi,
what do you mean with “default properties”? If you just want an empty service task, you can use the bpmnFactory:
bpmnFactory.create('bpmn:ServiceTask');
For pre-configured Tasks, check out this Improve custom elements with a pre-configured Rest API call thread.
Cheers