Trigger/rule for "Versioning"-like own numbering scheme
Dear all,
today we are using the versioning feature of Integrity, but we only need a version number for our document AND for our content. There is no further need of other versioning features (like traces to versioned items etc.). So for us it would be better to simply work on the live item and add an own version numbering scheme to our items.
The numbering scheme should be "[major].[minor]", like it is used for versioning.
For content (Requirement) the minor-number should be increment by 1 for EACH significant edit. The major-number should be increment (+minor to zero) when the state of the content changes from state "A" to state "B".
The version number for document we would simply add manual as baseline/label.
From my understanding I would need:
- field "My Minor" (integer)
- field "My Major" (integer)
- computed field "My Revision" (shorttext) that joins the fields to "[My Major].[My Minor"]
- 1 trigger that increments "My Minor" + rule that detects significant edits on item type "Requirement"
- 1 trigger that increments "My Major" and sets "My Minor" to zero + rule that detect change of state "A" to "B" on item type "Requirement"
Unfortunately I am not familiar with triggers. Can you help me on that? And how do I detect a "significant edit" since the last increment of the Major.Minor number?
Thanks, Timo

