Platform Explorer / Nuxeo Platform 5.8

Operation Document.Pop (Pop Document)

In component BuiltIn

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 Document.Pop
Category Push & Pop
Label Pop Document
Requires
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.automation.core.operations.stack.PopDocument
Contributing Component BuiltIn

JSON Definition

{
  "id" : "Document.Pop",
  "label" : "Pop Document",
  "category" : "Push & Pop",
  "requires" : "",
  "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" : "Document.Pop",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}