cancel
Showing results for 
Search instead for 
Did you mean: 

BPMN workflow Bug fixing - Best practices

kethur
Champ in-the-making
Champ in-the-making
Hi Team,

I would like to know the best practices in fixing the live(production) bpmn workflows. 

Say I have a workflow V1 with 10 process instances and V2 with 10 process instances (there are workflow objects going through the workflow process state changes) and if someone finds a bug in V1, how would i fix the XML without affecting the workflow object states (or minimal impact).

Please let me know some best practices in fixing the bugs of existing workflows and best practices in designing the workflows.

Thanks,
Raj
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
That is indeed a tough one. You could try to manually change the data, given that you know the database schema well enough. On other way it to do it is to move your process instance to a new version (check setProcessDefinitionVerCmd), but you have to be careful there and know what you are doing.

But generally, it's pretty hard to do without some extra coding around it in your logic.