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.
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.
You have a look at https://doc.nuxeo.com/nxdoc/workflow-models-packaging/ to understand how workflows are created in Nuxeo.