How to set Revision Rule


  
 Applies To 
  
 Product(s):eB Director
 Version(s):15.x.x, 16.x.x
 Environment: N/A
 Area: System Administration & Classification
 Subarea: N/A
 Original Author:Deepti Patil, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Background

A revision rule is set to control the fixed list of Revision which will take place. A rule is set which includes the masks  which is similar to the document number mask that is defined in the object templates. When objects are created or revised based on the template the revision rule is applied to each new and subsequent revision.

Revision Rules can be set through the eB Director within the Maintain List Values section of the System Administration tab in Director. 

Revision Rule Sets has following fields which is defined in the below table:

1) Rule Set Name

 Unique identifier for the Revision Rule Set.  Can be up to 100 characters.

2) Description

 General description of the rule set.  Can be up to 255 characters.

3) Rule Syntax

 Defines the rules for auto revision. Can be set max 2000 Characters

4) Enforce Pattern

 By selecting this check box it force selection of the next revision from the list of available revisions in the pattern

5) Use Next

 By selecting this check box it forces selection of the next available revision value in the pattern 


 

Revision Rule Syntax

A Revision Rule Set can contain four types of rule:

Certain combinations of these four are also permitted. Rules in the rule set are separated by semicolons.

1. Ranges

The range syntax is used to specify a minimum and maximum value of revisions. Multiple ranges can be combined as shown in the example

RANGE[{000|999}] it produces these Revisions

000,001,002.........

2. Masks

The second available syntax for a revision rule set is a numbering mask, similar to a document number mask. 

 Example Mask: A-## it produces these Revisions

A-01, A-02, A-03..............

3. Fixed lists

A fixed list contains all available revisions for an object separated by semicolons.

Example FL: 0;01;02;03;04;05;06 it produces these Revisions

0,01,02,03,04........ 

4. Patterns

 The pattern syntax provides the ability to have repeating version numbers with one or more masks.

Example Pattern: {#.A|#.B|#.C|#CX} it produces these Revisions

1.A, 1.B, 1.C,1.CX, 2.A, 2.B........