Hello, i'm trying to change the SetLifeCycle to deleted in a document or send this doc to de trash but I don't knwo how I can do it. Any idea? I'm using nuxeo 5.8
Document.SetLifeCycle expects a transition as parameter
http://explorer.nuxeo.com/nuxeo/site/distribution/cap-8.3/viewExtensionPoint/org.nuxeo.ecm.core.lifecycle.LifeCycleService--lifecycle
thank you, I can do it with this code,I leave the code here in case it can be useful for someone