Add or delete nodes on the process instance

When I am running an instance, I may need to add nodes to the instance or cancel a node. At this time, I don’t want to affect the template. What should I do?

You can try process-instance-modification api to achieve this without changing the default template of your model.

When I reach a certain node, I may find that I need to add a new node. At this time, I need to generate a new template, and then migrate the current instance to the new template. @aravindhrs