You can apply a variety of locks to protect your decision
tables against editing by others.
About this task
Decision tables have locking facilities that allow you to protect your decision tables against
editing by others. The locking rules should be specified in the context of a template library to be
applied on instances of this decision table. For both condition columns and action columns, you can
lock the structure, data, or both.
Procedure
To define decision table locking requirements:
- Right-click any column header in your decision table, and then click Table
properties. The Table properties editor opens.
- Choose which locks you want to apply:
- Enforce locking rules on this table
The default is off to allow you to edit your decision table and lock rules. Set to on for
decision tables used in a package on which you want to enforce locking rules.
- Show lock icon in columns
If on, the Lock icon is displayed on any locked condition and action items.
- Prevent addition or removal of columns
Prevents condition or action columns from being added or deleted.
- In the Condition columns section,
select any of the following locks:
- Lock test
The test expression associated with the condition column cannot
be changed. Note that cell content, including cell-specific test operators,
can still be changed.
- Lock partitions
Partition items cannot be added to or removed from the selected
condition column. The values of existing partition items can still
be changed, but no rows can be added to or removed from this column.
Locking partitions locks partitions in all preceding columns because adding a new partition item
to a previous column can create a new row in the locked column.
- Lock values
The values of existing partition items or the cell operator
cannot be changed.
- In the Action columns section, select
any of the following locks:
- Lock action
The expression associated with the column cannot be changed.
- Lock status
The status of the action cell cannot be changed. The action status specifies whether an action is
enabled or disabled. See Table
cells for details on disabling action columns.
- Lock values
The values in the action cell of the selected column cannot
be changed.
-
Click OK to apply your selections.