I would be grateful if someone could help me with me problem.
When I start my workflow, a document need to go from one site to another, but I am getting a error message when I try to start the workflow using one document that is already in the final site. Is it possible to create a new version of this document automatically? I mean, is it possible to subscribe the old document by the new one?
continuing my questions, now I am creating the new versions of a document, the only problem now is that I can not copy the text inside. I am trying like this:
var workingCopy = targetFile.checkout(); workingCopy.content = bpm_package.children[0].content; targetFile = workingCopy.checkin();