How to exclude specific actions in undo , redo chain?

I got the solution . The below steps I written

1>override the bpmnfactory .–>ensureID()

here I overrided the shape and sequenceflow ids to customID

1 Like