Platform Explorer / Nuxeo Platform 5.8

Operation Context.RunDocumentOperationInNewTx (Run Document Chain in new Tx)

In component BuiltIn

Description

Run an operation chain in a separate tx. The 'parameters' injected are accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}.
Operation id Context.RunDocumentOperationInNewTx
Category Execution Flow
Label Run Document Chain in new Tx
Requires
Since

Parameters

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

Signature

Inputs void
Outputs void

Implementation Information

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

JSON Definition

{
  "id" : "Context.RunDocumentOperationInNewTx",
  "label" : "Run Document Chain in new Tx",
  "category" : "Execution Flow",
  "requires" : "",
  "description" : "Run an operation chain in a separate tx. The 'parameters' injected are accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}.",
  "url" : "Context.RunDocumentOperationInNewTx",
  "signature" : [ "void", "void" ],
  "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" : [ ]
  }, {
    "name" : "rollbackGlobalOnError",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "timeout",
    "description" : null,
    "type" : "integer",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}