cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to end a workflow without change the lifecycle state of an approved document ?

ftorchet_
Champ in-the-making
Champ in-the-making

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...

2 REPLIES 2

Bertrand_Chauvi
Confirmed Champ
Confirmed Champ

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:

The point is StandardVersioningService is fine... Change "approved" state when doc changes satisfies me...

Getting started

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.