Platform Explorer / Nuxeo Platform 5.8

Operation Context.RunInputScript (Run Input Script)

In component BuiltIn

Description

Run a script from the input blob. A blob comtaining script result is returned.
Operation id Context.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 Javadoc: org.nuxeo.ecm.automation.core.operations.RunInputScript
Contributing Component BuiltIn

JSON Definition

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