How to Create a new custom task in BPMN

Hi Team,

How to create a new Custom Activity/task in BPMN.IO. Basically a new custom task/Activity with a custom shape and can be persisted in the BPMN XML file.
For example, the start event is given out of the Box BPMN, the same way I want to create a custom/task and persist in BPMN.xml.

Thanks in advance.!

Hi @sandy8524,

did you already check out our custom elements example?

Hi @Niklas_Kiefer,

Yes, I know this example. It’s an example to extend any BPMN out of the box task/activity. I am looking for steps to create a custom task/activity in BPMN. Is it possible to do this?

Thanks.

This is exactly what the example is about? What are you missing?

Hi @philippfromme,

I am looking for a way to create a custom activity(not extending the out of the box bpmn.io activity).
My use case is.
1> The activity should be available in the tool palette and can be selected and dragged to the diagram to draw a flow.
2>The Custom activity added should be persisted in the Bpmn.xml when the download XML option is clicked.

.

What exactly do you mean by that?

As I said this is what the example is about?