cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS - change nuxeo:lifecycleState

Eric_Ace
Confirmed Champ
Confirmed Champ

I'm trying to modify the nuxeo:lifecycleState via a CMIS statement: curl ...
/> -F "cmisaction:update"
/> -F "changeToken=..."
/> -F "propertyId[0]=nuxeo:lifecycleState"
/> -F "propertyValue[0]="approved"
/> "https:..."

It's not erroring. But it's not changing the lifecycle state. Should this be working? (P.S. We use CMIS extensively to modify other document properties as part of testing.) Thank you.

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

nuxeo:lifecycleState is a read-only property, as you'll see if you query the CMIS types. To change the lifecycle state you need to use non-CMIS methods of interaction with the Nuxeo native APIs. For example use the Nuxeo Automation APIs and call the Document.FollowLifecycleTransition operation.

Getting started

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.