On create of a new task can we default it to Service task

On right click on any element to create a new task , can we default the task type as Service task?

Hey,

This can be achieved by editing this line in bpmn-js. Just change bpmn:Task to bpmn:ServiceTask and you should be fine.

Also check this out: https://github.com/bpmn-io/bpmn-js-example-custom-controls

1 Like

Not the thread author, but you helped me a lot here, thank you so much!!