Platform Explorer / Nuxeo Platform 5.8

Operation Context.RunScript (Run Script)

In component BuiltIn

Description

Run a script which content is specified as text in the 'script' parameter
Operation id Context.RunScript
Category Scripting
Label Run Script
Requires
Since

Parameters

Name Description Type Required Default value
script string yes  

Signature

Inputs void
Outputs void

Implementation Information

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

JSON Definition

{
  "id" : "Context.RunScript",
  "label" : "Run Script",
  "category" : "Scripting",
  "requires" : "",
  "description" : "Run a script which content is specified as text in the 'script' parameter",
  "url" : "Context.RunScript",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "script",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  } ]
}