02-02-2016 05:58 AM
I want to execute an automatic diffusion workflow on an approved document. (the workflow uses start diffusion date and end diffusion date wrapped in document)
The workflow works : it create proxies, delete them, no problem...
Here is the problem : when the workflow is ending a task (create a proxy or delete a proxy by example), it updates the approved document.... which comes back to project lifecycle state... (because it has been updated)
How to maintain this approved lifecycle state ?
If I correctly annalyze what happens, update occurs when workflow is ending task and remove permissions for task actors : it executes then a "session.saveDocument()" (why by the way ? why not a session.setACP() ?). I'm not able to find a solution to avoid that... In my opinion, force an update of the state with an output chain doesn't seem really optimal especially as there is automatic versioning on updates...
02-02-2016 10:39 AM
Hi,
This is linked to the StandardVersioningService. By default when a document is in approved or obsolete state and it is modified, it is put back to the draft state.
If you want to change this behaviour you have two possible solutions:
02-03-2016 02:04 AM
The point is StandardVersioningService is fine... Change "approved" state when doc changes satisfies me...
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.