Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation RunInputScript

Run Input Script

Description

Run a script from the input blob. A blob comtaining script result is returned.
Operation id RunInputScript
AliasesContext.RunInputScript
Category Scripting
Label Run Input Script
Requires
Since

Parameters

Name Description Type Required Default value
type string no mvel, groovy 

Signature

Inputs blob
Outputs blob

Implementation information

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

JSON definition

{
  "id" : "RunInputScript",
  "aliases" : [ "Context.RunInputScript" ],
  "label" : "Run Input Script",
  "category" : "Scripting",
  "requires" : null,
  "description" : "Run a script from the input blob. A blob comtaining script result is returned.",
  "url" : "RunInputScript",
  "signature" : [ "blob", "blob" ],
  "params" : [ {
    "name" : "type",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "mvel", "groovy" ]
  } ]
}