Custom Lifecycle (no access to Studio...)

Hello. I'm new to the platform. I don't have access to Nuxeo Studio. Is there a recipe available with the main steps one would follow to implement a customized lifecycle “by hand”, i.e. in Java and XML? For example, to place a state in between “deleted” and the various other precursor steps? Thank you.

0 votes

2 answers

1835 views

ANSWER



Lifecycles, though related, are indeed independent of workflows.

Have a look at the lifecycle extension point of org.nuxeo.ecm.core.lifecycle.LifeCycleService : http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform-9.1/viewExtensionPoint/org.nuxeo.ecm.core.lifecycle.LifeCycleService--lifecycle

there are several examples including default lifecycle, this is quite simple : one part is about states, the other part about transition between states

BTW, also have a look at https://doc.nuxeo.com/nxdoc/how-to-enable-the-trash-feature/ that implies to create a “deleted” state and a “delete” transition.

0 votes



Hello Eric,

You have a look at https://doc.nuxeo.com/nxdoc/workflow-models-packaging/ to understand how workflows are created in Nuxeo.

Regards

0 votes



Thank you. I was looking at: https://doc.nuxeo.com/studio/life-cycle/. And this seems to refer to the ability to modify the lifecycle of a document. This seems different than the workflow documentation that you referenced. Can I modify document lifecycle outside of the Studio? That seems closer to what I am looking for. Though - again - I'm new to the platform. Thanks.
05/04/2017