Platform Explorer / Nuxeo Platform LTS 2017 9.10

Operation Document.Lock

Lock

Description

Lock the input document for the current user. Returns back the locked document.

The parameter "Owner" should be left empty as it is not used. The owner will be the current user (you can use a User and Group > Login As operation if you need to lock the document with another user).

Operation id Document.Lock
Category Document
Label Lock
Requires
Since

Parameters

No parameters.

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.document.LockDocument
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Document.Lock",
  "label" : "Lock",
  "category" : "Document",
  "requires" : null,
  "description" : "Lock the input document for the current user. Returns back the locked document.",
  "url" : "Document.Lock",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ ]
}