How to create custom task

Hello, I know that several topics answer the question but not enough to meet my expectations. I’d like to create several tasks that have a different form in the panel. These are simple tasks but they have a distinction from the others so that they are unique and the form elements are different for each. Here’s my code, thanks in advance for any help:


function createTask(suitabilityScore) {
      return function (event) {
        const businessObject = bpmnFactory.create('bpmn:Task');

        const shape = elementFactory.createShape({
          type: 'bpmn:Task',
          businessObject: businessObject

        create.start(event, shape);

Please check out the custom elements example: bpmn-js-examples/custom-elements at main · bpmn-io/bpmn-js-examples · GitHub