Platform Explorer / Nuxeo Platform 5.8

Operation Context.RunDocumentOperation (Run Document Chain)

In component BuiltIn

Description

Run an operation chain which is returning a document in the current context. The input for the chain ro run is the current input of the operation. Return the output of the chain as a document. The 'parameters' injected are accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}.
Operation id Context.RunDocumentOperation
Category Execution Flow
Label Run Document Chain
Requires
Since

Parameters

Name Description Type Required Default value
id string yes  
isolate boolean no false 
parameters properties no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.automation.core.operations.execution.RunDocumentChain
Contributing Component BuiltIn

JSON Definition

{
  "id" : "Context.RunDocumentOperation",
  "label" : "Run Document Chain",
  "category" : "Execution Flow",
  "requires" : "",
  "description" : "Run an operation chain which is returning a document in the current context. The input for the chain ro run is the current input of the operation. Return the output of the chain as a document. The 'parameters' injected are accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}.",
  "url" : "Context.RunDocumentOperation",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "id",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "isolate",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "parameters",
    "description" : null,
    "type" : "properties",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}