Configuration
Element | Type | Default | Description |
---|---|---|---|
disableInternalTemplates | boolean | false | True if the internally defined templates should be disabled (if for instance you wish to override them). |
plan/@file | String | The file to load the plan (including templates) from. See here for the format of the plan file. | |
plan/@contentSource | String | The content source this workflow is associated. The content source is used for property expansion when loading the workflow rules | |
plan/@id | String | [MANDATORY] | The id of the plan in the workflow file to run. |
plan/@errorWorkflow | Boolean | false | This engine is processing the error workflow for a content source. If there are no rules, throw an exception rather than letting the job succeed. This allows jobs sent to the error workflow to be seen as failures at the content source scanner |
plan/@errorTolerant | Boolean | false | When true, exceptions in rules will only effect the execution of the rule in which the exception occurs. Subsequent rules will be executed and the job will complete the rules engine stage successfully. If false, exceptions in rules will be re-thrown, rule processing will cease and the job will error |
plan/@reload | long | 900000ms =15minutes | The period in ms after which rules should be automatically reloaded from the file. If 0, rules are not reloaded automatically. |
libraries | Directory | If set, the directory of any libraries of common workflow rules. |
Example Configuration
<component name="myBRE" subType="default" factoryName="aspire-business-rules"> <debug>true</debug> <libraries>${config.dir}/workflow-libraries</libraries> <plan errorTolerant="false" file="${config.dir}\content-sources\test/workflow.xml" id="onPublish" reload="15s"/> </component>
Servlet Commands
The business rules executor supports the following servlet commands (via http://server:port/myBRM?cmd=XXXX¶m=value):
reload
This command causes the business rules to be reloaded from the database immediately. This command does not recognize any parameters and is designed to be used after the rules have been updated using the Business Rules Manager.
Overview
Content Tools