This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Version Control Lite Minor version

Hello,

I have version control lite working except for one glitch with minor version. 

The published version is a different class to the working copy. Workflow is the Major Minor Lite Control that comes with the sample configuration.

Below is the configuration and workflow.

The issue is that when a published version is moved to a minor version draft stage, the working copy loses the last made changes. When a document is summited initially it goes to approval and proof reading. Changes may be made here and published which creates the published version file. When this working copy is moved for a minor amendment the working copy available to edit is not from the Released stage but from the stage before approval and proof reading - Major Revision Draft. No idea how this happening.

Appreciate any help, thanks

    "Enabled": true,
    "Schemes": [
        {
            "Identifier": "Major Minor",
            "Workflow": "M-files.ComplianceKit.MajorMinorVCLite",
            "ObjType": "{53F0C8FD-0BF0-47C4-8FA6-4C2D0DADB650}",
            "SinglePublishedVersionProperty": "M-Files.ComplianceKit.PublishedDoc",
            "PublishedVersion": {
                "RetireTransitions": [],
                "OriginalProperty": "M-Files.ComplianceKit.OriginalDoc",
                "PublishedFromProperty": "M-Files.ComplianceKit.PublishedFromDoc",
                "WhiteListProperties": [
                    "{3E2BB7EB-C49E-4C8C-825C-CAE0AEBA9A06}",
                    "{25F1631B-42D9-44C3-BD6F-58EC96404233}",
                    "Prop.date",
                    "Prop.VendorName",
                    "Prop.ItemCode"
                ],
                "Class": "Class.ProductDataSheet",
                "Workflow": "WF.ProductDataSheet",
                "State": "WFS.ProductDataSheet.Draft"
            }
        }
    ],
    "Workflows": [
        {
            "Workflow": "M-files.ComplianceKit.MajorMinorVCLite",
            "EditableStates": [
                "M-Files.ComplianceKit.MajorMinorVCLite.Draft",
                "M-Files.ComplianceKit.MajorMinorVCLite.DraftMinor"
            ],
            "Levels": [
                {
                    "Name": "Major",
                    "PropertyDef": "M-Files.ComplianceKit.MajorVersion",
                    "InitialValue": "1"
                },
                {
                    "Name": "Minor",
                    "PropertyDef": "M-Files.ComplianceKit.MinorVersion",
                    "InitialValue": "1"
                }
            ],
            "Actions": [
                {
                    "Type": "Publish",
                    "Transitions": [
                        "{9014A388-04D6-4370-AF15-4942494F610B}",
                        "{0B38616C-297F-42C2-B12D-C8E31F867F88}"
                    ]
                },
                {
                    "Type": "Demote",
                    "States": [
                        "M-Files.ComplianceKit.MajorMinorVCLite.Retired"
                    ]
                },
                {
                    "Type": "Version",
                    "Transitions": [
                        "M-Files.ComplianceKit.MajorMinorVCLite.NewMajor"
                    ],
                    "Level": 1
                },
                {
                    "Type": "Version",
                    "Transitions": [
                        "M-Files.ComplianceKit.MajorMinorVCLite.NewMinor"
                    ],
                    "Level": 2
                }
            ]
        }
    ]
}

Major Minor Lite WF