I use Sharepoint Foundation 2010 and have a workflow to set some metadata in a document with version control and check-in/check-out enabled (approval content is not enabled because anyone in the team can be a possible editor of the document).
My metadata is:
- a generated doc id with text+id (example P&D_1)
- a calculated status based in version: minor version = "on development" and major-version="published/approved"
I defined two workflows:
1) is called when item is created to define id and status.
2) is called when item is updated and status is re-calculated if version is major. (It is called in every item change, not only when user wants to publish a major version, because this option doesn't appear in SPD)
I noticed that sharepoint workflow must do a check-out to be able to update metadata, and because of this the version number is incremented. When version is minor, I don't care, but when version is major I have a problem, because just after publishing the
version 1.0, the workflow changes metadata and the version to 1.1. and 1.1 means that the document is not approved anymore...
a) Isn't it possible to do the workflow to check-in and override the last/current version to not generate a new version??
b) Or is it possible to stop versi
View Complete Post