Rules Engine: Defining version string

Hey all

Hope someone can help me with this. Because I'm not quite seeing the full picture.

Where do I define the Rules Engine's default version string: XYY.ZZ...??? 

According to the document "ProjectWise Rules Engine Guide_v2.docx" I can have the Rules Engine control the versioning of documents in PW, by using the action type "CHANGE_REV_NO".

The default version string is: XYY.ZZ
X = prefix letter
YY = Major numerical revision
ZZ = Minor numerical revision

 But where do I, for example, define the prefix letter (X)..??

 Thanks..!!

Parents
  • Sorry for the late response. I was the one who asked the original quenstion and we figured out how to define the version string to our needs.

    You don't need to mess around in the database, all you need is an environment attribute and The Rules engine spreadsheet. This is how we did it:

    First we created an attribute called 'Version' and the way to define the version string is to define a 'Fixed' default value in the attribute, for example A01.1
    Now in The Rules Engine spreadsheet you only have the opportunity to change the minor version number or the major version number, not the prefix letter (Bentley though should make this a possibility), when a document changes state. So Philip I don't think you can change a version from A01.1 to B01.1, at least not using The Rules Engine.
    In The Rules Engine spreadsheet under the 'Settings' tab you have to define the attribute name.

    I even dropped the version prefix letter and just put in a Space, so our fixed default value is ' 01.1'

    I hope this helpes

    Regards,
    Morten

    Answer Verified By: Gayatri Belhekar 

Reply
  • Sorry for the late response. I was the one who asked the original quenstion and we figured out how to define the version string to our needs.

    You don't need to mess around in the database, all you need is an environment attribute and The Rules engine spreadsheet. This is how we did it:

    First we created an attribute called 'Version' and the way to define the version string is to define a 'Fixed' default value in the attribute, for example A01.1
    Now in The Rules Engine spreadsheet you only have the opportunity to change the minor version number or the major version number, not the prefix letter (Bentley though should make this a possibility), when a document changes state. So Philip I don't think you can change a version from A01.1 to B01.1, at least not using The Rules Engine.
    In The Rules Engine spreadsheet under the 'Settings' tab you have to define the attribute name.

    I even dropped the version prefix letter and just put in a Space, so our fixed default value is ' 01.1'

    I hope this helpes

    Regards,
    Morten

    Answer Verified By: Gayatri Belhekar 

Children