Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation RunScript

Run Script

Description

Run a script which content is specified as text in the 'script' parameter
Operation id RunScript
AliasesContext.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 org.nuxeo.ecm.automation.core.operations.RunScript
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

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