IBM FileNet P8, Version 5.2            

Workflow definition transfer

You can transfer a workflow definition or collection to the isolated region.

Before a workflow can run, an executable version of the workflow definition or collection must exist in the isolated region. Saving a workflow definition or collection in an object store or library saves the file but does not make it executable.

To transfer a workflow definition or collection to the isolated region:
Note: As part of the transfer process, the workflow definition or collection is validated by workflow system. The validation process checks for errors such as incorrect expression syntax, invalid routing conditions, and access to all work queues specified in the workflow definition or collection. Any errors encountered during validation must be corrected before the transfer can occur. In addition, transfer cannot complete if the executable version of a workflow definition or collection exceeds the maximum allowable BLOB size for the database.

In addition to workflow definitions, system configuration settings defined in Process Configuration Console (including definitions of queues, rosters, and event logs) must be transferred to the workflow system. In Process Configuration Console, the Commit Changes action transfers any unsaved changes in the current Process Configuration Console session.

Transfer to the isolated region

Multiple work spaces in isolated region

Each time a workflow definition or collection is transferred, a new workspace is created in the isolated region to point to the executable version of the workflow and to the latest revision of other previously transferred workflow definitions or collections. (In fact, each workspace actually contains two pointers to a workflow definition or collection--one to the author format and one to the runtime format of the workflow definition or collection.)

In the illustration at left, the size of the workspace increases as more workflow definitions are transferred. When there is a new revision of a workflow definition, such as Alpha in the illustration, the newer revision, Alpha_1, replaces the older one in the workspace list. This mechanism acts as a type of version control, making it possible to have multiple revisions of a workflow that can be run in an isolated region.

In a development environment, it is normal to have a large number of workspaces and to have the size of the workspaces increase fairly rapidly because workflow authors transfer and test workflow definitions many times before releasing them into the production environment. In this situation, it is possible to exceed the size limit of the workspace. Workflow system logs a warning message in the system event log when the BLOB size of a configuration object or a work item exceeds 95% of the maximum allowable size. If the workspace size limit is reached, a workflow transfer command results in a 'buffer overflow' error. To resolve this problem in a development environment, the workflow author can initialize the isolated region and clear out the workspaces.

In a production environment, there are usually fewer and smaller workspaces than in a development environment because only tested and stable workflow definitions are usually present in the production environment. Since it is generally inconvenient to initialize a production isolated region to clear out unused workspaces, some care should be taken to avoid large numbers of unnecessary transfers to the isolated region in a production system.

Not recommended

Workspaces with duplicated workflow definitions

In the illustration at left, the workflow author creates essentially identical versions of the Alpha workflow definition by changing the name of the workflow definition and re-transferring. Note that this results in a rapid increase in the number of workspaces and the size of the workspace because each of these workflow definitions is considered unique.

As an alternative to this technique, use a data field in the workflow to update the Subject of the workflow at launch time as a way of identifying each running workflow.



Feedback

Last updated: October 2013
bpfwd016.htm

© Copyright IBM Corporation 2014.
This information center is powered by Eclipse technology. (http://www.eclipse.org)