Platform Explorer / Nuxeo Platform 5.8

Operation Document.Unlock (Unlock)

In component BuiltIn

Description

Unlock the input document. The unlock will be executed in the name of the current user. An user can unlock a document only if has the UNLOCK permission granted on the document or if it the same user as the one that locked the document. Return the unlocked document
Operation id Document.Unlock
Category Document
Label Unlock
Requires
Since

Parameters

No parameters.

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.automation.core.operations.document.UnlockDocument
Contributing Component BuiltIn

JSON Definition

{
  "id" : "Document.Unlock",
  "label" : "Unlock",
  "category" : "Document",
  "requires" : "",
  "description" : "Unlock the input document. The unlock will be executed in the name of the current user. An user can unlock a document only if has the UNLOCK permission granted on the document or if it the same user as the one that locked the document. Return the unlocked document",
  "url" : "Document.Unlock",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ ]
}