Business Rule Editor Reference

You can create and edit a business rule in WebStudio using the business rule editor.

The following sample screen displays a business rule editor in WebStudio and the following table provides brief description of its elements.

Business Rule Editor Reference
Element No. Element Description
1 Table title Displays the business rule name
2 Save Saves the changes to the business rule in cache, but does not commit to RMS
3 Commit Commits the business rule changes to RMS
4 Undo Reverts last edit done to the business rule
5 Redo Performs the action again that was reverted using the Undo command
6 Validate Validates a business rule, for any error.

EAR file for the project must be present in the deploy location; otherwise, the validate command fails.

All the errors are displayed on the Problems tab at the bottom of the editor. New errors in syntax are added to these existing errors. Double-click errors to see the problematic view.

7 More options Lists more options for business rule . The options are:
Delete
Deletes the artifact. Click Confirm on the confirmation screen to delete the artifact. After deletion commit the changes to the project using the tree view.

You can also delete a project from the workspace using the tree view.

Commit
Commits the changes to the artifact for approval. In the Commit Changes window, enter a comment for the changes in Message text box. Click the artifact name to review the changes for commit. Click Confirm to commit the changes to RMS repository.
Synchronize
Synchronizes the update from the server to your local copy of the artifact. For more details about the fields present on the Synchronize Artifact window, see Synchronize Artifact Details Window Reference.
Revert
Reverts the update (if not committed) done to an artifact. In the Revert window, click the artifact name to review the changes to revert. Click Confirm to revert the changes.
Lock
Locks the artifact for the user and other user cannot commit any changes to the table until it is unlocked. This option works only if the ws.scs.locking.enable property is set to true in RMS.cdd.
Rename
Provide a new name to the artifact. After changing the file name, commit the changes so the artifact is treated as a new artifact.
History
View list of the revisions of the artifact that were committed. For each revision, you can click View Content to view the revision that was committed or you can click View Commit to view the revision details.
Audit Trail
Displays the list of actions performed on the artifact by users. You can refine the results using the filters available in the Audit Trail window. For more information on the fields, see Viewing Audit Trail of an Artifact or Project.
Export
Exports the artifact to your local computer. Business rule is exported as a.ruletemplateinstance file.
8 When section The When section lets the user define additional conditions that must be met, in addition to the precondition defined in the rule template. For more information, see Adding a Conditional Clause by Using the Condition Builder.
9 Then section The Then section defines additional actions to be taken based on the conditions defined. For more information, see Adding an Action Using the Command Builder
10 Errors The icon displays the number of errors. Click on the icon to open the Problems tab
11 Warnings The icon displays the number of warnings. Click on the icon to open the Problems tab
12 Properties Displays the properties for the decision table, cell, and the rule.
13 Lock Indicator Indicates whether the artifact (decision table) is locked or unlocked