By Phil Coulthard

For system tasks in your business process definitions (BPDs), select the Delete task on completion check box on the Implementation tab of the properties in IBM Process Designer. With this option selected, tasks are automatically deleted when they complete, which can save a significant amount of data from being persisted. Note that the default setting for this check box was changed to selected as of IBM Business Process Manager V8.5.5.0 for newly created system tasks.

For user tasks in your BPDs, make a conscious decision about the Clean State check box on the Implementation tab of the BPD’s properties. By default, this option is not selected, but selecting it automatically cleans up the context (such as variables) for the user task when it completes. If the state is not required to be persisted and this option is selected, you can save a significant amount of database space and even speed the migration of snapshot instances.

Applicable editions: Express, Standard, and Advanced

Applicable releases: All

Source: IBM

Learn more:

    2 responses to “Good practice – Mark system tasks for deletion when you create them”

    1. In last line, “significant about of database space”
      should be
      “significant amount of database space”.

    Leave a Reply

    Your email address will not be published.