05-29-2016 06:44 AM
Hi,
Not able to change document state to previous.
Below is the configuration: [Life Cycle states: Start<--->Process<--->Published] [Workflow impementation -> Automation Chains (Fetch > Context.FetchDocument => Document > Document.FollowLifecycleTransition [Values: Start, Process, Publised accordingly])]
On trying to change state from Process to Start getting below error:
***** chain ******
Name: LifeCycle_process
Exception: OperationException
Caught error: Failed to invoke operation Document.FollowLifecycleTransition with aliases [Document.SetLifeCycle]
Caused by: org.nuxeo.ecm.core.api.LifeCycleException: Not allowed to follow transition
****** Hierarchy calls ****** org.nuxeo.ecm.automation.core.operations.FetchContextDocument org.nuxeo.ecm.automation.core.operations.document.SetDocumentLifeCycle
Please suggest how can we change the document state to previous state.
05-29-2016 07:26 AM
Start, Process and Published seem to be lifecycle states
05-29-2016 07:55 AM
Start, Process and Published are defined.
05-29-2016 08:04 AM
it seems it is a custom lifecycle. You should dump the lifecycle extension point I mentionned.
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.