 |
 |
|
|
|
Transferring workflows to the Rules repository
When the user transfers a workflow definition
in the Process Designer,
Process Engine
sends the workflow to the Process Engine database
and also sends a workflow information to the
Rules Engine
where it is processed and saved to the Rules
repository. The workflow information contains
references for the data fields, system fields,
rule sets, and maps used in the workflow.
The first time the user transfers a workflow
the Rules Engine creates two new folders under
the Repositories folder: an isolated region
folder (if one does not already exist) and a
subfolder for the workflow repository, for example:
(Windows) fnsw_loc\connectors\ILOG\repositories\<isolated
region number>\<workflow name>\
(UNIX) fnsw/local/connectors/ILOG/repositories/<isolated
region number>/<workflow name>/
Thereafter, if the user adds or deletes data
fields or maps, or adds rule sets, when the
workflow is transferred Rules Engine
creates a new version of the workflow in the
repository. The version number of each workflow
appears at the end of the folders in the individual
workflow repositories. The following figure
shows a sample Rules repository with two versions
of a workflow called "loanApproval"
in isolated region 120.
NOTE In
ILOG Rules Builder, workflows appear as individual
repositories and the versions of a workflow
are represented as projects in the repository.

To transfer a workflow to
the Rules repository
- In Process Designer open or check out the
workflow definition you want to transfer.
- Validate the workflow and ensure the workflow
is error-free. To validate the workflow, select
File > Validate from the Process
Designer menu.
- Select File > Transfer. If this
is a new workflow, Process Engine displays
a series of dialogs and prompts you to add
the workflow definition to an object store
before transferring the workflow.
- Verify that the workflow transferred successfully
to the Rules repository by doing the following:
- Open a command prompt window
or Windows Explorer on the Process Engine
where ILOG JRules is installed.
- Navigate to:
(Windows) fnsw_loc\connectors\ILOG\repositories\<isolated
region number>\<workflow
name>\
(UNIX) fnsw/local/connectors/ILOG/repositories/<isolated
region number>/<workflow
name>/
- Verify that the workflow repository
files appear under the <workflow
name> folder. If you added or deleted
data fields or maps, or added rule sets
to an existing workflow, ensure that a
new version of the workflow repository
appears under the <workflow name>
folder.
NOTE
If the workflow did not transfer, see
Troubleshooting
Rules Engine for possible solutions.
- If the workflow repository has a rule set
.ilr file, verify that Rules Engine created
a new version of the .ilr file by doing the
following:
- Open a command prompt window
or Windows Explorer on the Process Engine
where ILOG JRules is installed.
- Navigate to:
(Windows) fnsw_loc\connectors\ILOG\rules\<isolated
region number>\
(UNIX) fnsw/local\connectors/ILOG/rules/<isolated
region number>/
- Verify that a new .ilr file,
with an incremented version number, appears
under the <isolated region number>
folder. For example, if the previous version
of the .ilr file is named loanApproval_1.ilr,
Rules Engine will create a new version
named loanApproval_2.ilr.
NOTE If
the rule set contain errors such as an
invalid data field, you must manually
create a new version of the .ilr file
(see Creating
and exporting rules).
|