Validating preconditions
Run the precondition checker utility to validate preconditions after changing property preconditions for an existing activity. The precondition checker looks for activities that were created before the precondition changed and evaluates the updated activity. If the new precondition is met, the activity status changes to working status.
preconditionChecker
The precondition checker utility updates solution
activities in which the following changes were made:
- The criteria changes for an activity with a A property condition is met precondition.
- The precondition changes from A document is filed in the case or A case property is updated to A property condition is met.
- Or, any precondition changes to No precondition.
Tip: You do not need to deploy the solution after you run the precondition
checker utility.
The precondition checker utility is in the IBM® Business Automation
Workflow installation folder.
| Platform | File name | Location |
|---|---|---|
| AIX® | preconditionChecker.sh | /opt/IBM/CaseManagement |
| Linux® | preconditionChecker.sh | /opt/IBM/CaseManagement |
| Linux for System z | preconditionChecker.sh | /opt/IBM/CaseManagement |
| Windows | preconditionChecker.bat | C:\Program Files\IBM\CaseManagement for a fresh
install C:\Program Files (x86)\IBM\CaseManagement for an upgrade |
Syntax
preconditionChecker command parameter value
Commands
- launch
- Start the precondition checker utility. The launch command requires parameters.
- suspend
- Stop the precondition checker utility. The suspend command does not require parameters.
Parameters
- -cews_uri
- The web services URI to connect to Content Platform Engine. For example http: //myserver:9080/wsi/FNCEWS40MTOM. Required.
- -username
- The user ID to connect to Content Platform Engine. Required
- -password
- The password for the specified user ID to connect to Content Platform Engine. If not specified, the precondition checker utility will prompt for the password. Required.
- -target_os
- The target object store that the precondition checker will check. Required
- -solution
- The name of the solution that the precondition checker will check. Optional. If no solution is specified, the precondition checker utility checks all deployed solutions.
- -file
- The path to an input file that contains the precondition checker parameters. Optional.
- -batchSize
- The number of items to retrieve and process at one time. If not specified, the default batch size is 1000 items.
- -threadPoolSize
- The number of active threads when processing activities. Optional. The default value is four threads.
preconditionChecker launch -cews_uri http://myserver:9080/wsi/FNCEWS40MTOM
-username administrator -password mypassword
-target_os MyTargetOS -solution 'credit card dispute'