Hi All,

Currently we are having a requirement to support undeployment of BPMN
packages which are having corresponding both active and completed
instances. Therefore, before removing the BPMN package, these instances
should be cleaned from the database.
If the number of instances are quite high, it will take some considerable
amount of time to delete all the instances.


As a solution we decided to add another configuration value to restrict the
maximum number of instances before proceeding to remove the BPMN package.
Removal of the BPMN package is only allowed if the number of instances for
that package is less than the config value.

If the number of instances are greater than the defined maximum threshold
value, undeployment  operation will fail. In this case users have to clean
the existing instances by using the provided clean up scripts. Then again
they can try to undeploy the BPMN package.

Any thoughts or ideas are welcome

Regards,
Firzhan
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to