Platform Explorer / Nuxeo Platform LTS 2017 9.10

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

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

JSON Definition

{
  "id" : "Context.RunDocumentOperationInNewTx",
  "label" : "Run Document Chain in new Tx",
  "category" : "Execution Flow",
  "requires" : null,
  "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" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "isolate",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "parameters",
    "description" : null,
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "rollbackGlobalOnError",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "timeout",
    "description" : null,
    "type" : "integer",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}