03-26-2012 04:32 AM
I am using studio on version 5.5. I want to update a document life cycle state to 'approved' but do not want to use the Document > Follow Life Cycle Transition operation to achieve this.
I assume I can use the Document > Update Properties operation to chenge the Current Life Cycle State but I do not know how to reference the Current Life Cycle State of the current document.
03-28-2012 03:32 PM
CoreSession#followTransition() is the only high level API to change the lifecycle state of a document.
CoreSession#reinitLifeCycleState(docref) allows to set the lifecycle state to the default value defined in the lifecycle
03-26-2012 06:39 AM
Hello,
To sum up, you'd like to keep the Nuxeo current cycle state but without the first step "Project"?
In this case, import the Nuxeo DM Default configuration template into your studio ("import" button on the top left) and update the life cycle state "default" at your convenience. Nuxeo "default" life cycle will be overridden.
Or you can choose to create a custom life cycle state and attach it to your documents. "Content Model">"Life Cycle State"
03-28-2012 03:32 PM
CoreSession#followTransition() is the only high level API to change the lifecycle state of a document.
CoreSession#reinitLifeCycleState(docref) allows to set the lifecycle state to the default value defined in the lifecycle
04-11-2012 04:22 AM
You will have to create your own operation with Nuxeo IDE with this method call
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.