I have a workflow on a library. It first checks if the Current Item:Version
ends in ".0" (to see if it's a major version). I have a Log statement at the beginning of the workflow to record the version number.
This workflow works most of the time, but occasionally it "misses". For example, if I look at the Version History of document "X", there are no minor versions. There were 5 versions checked in (1.0, 2.0, 3.0, 4.0, 5.0). When I look at the trigger history, my Log statements show the version numbers being 1.0, 1.1, 2.0, 2.1, 3.1, 4.0., 4.1, 5.0.
So for some reason a minor version shows up in the Workflow even though the document was never saved as a minor version? And what happened to version 3.0? Is it a timing problem? Do I need a pause statement somewhere?