Platform Explorer / Nuxeo Platform 5.6

Operation Context.PopDocument

Pop Document

Description

Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last pushed document.
Operation id Context.PopDocument
AliasesDocument.Pop
Category Push & Pop
Label Pop Document
Requires
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.stack.PopDocument
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Context.PopDocument",
  "aliases" : [ "Document.Pop" ],
  "label" : "Pop Document",
  "category" : "Push & Pop",
  "requires" : null,
  "description" : "Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last <i>pushed</i> document.",
  "url" : "Context.PopDocument",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}