Platform Explorer / Nuxeo Platform LTS 2019 10.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 Accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}. 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" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "isolate",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "parameters",
    "description" : "Accessible in the subcontext ChainParameters. For instance, @{ChainParameters['parameterKey']}.",
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "rollbackGlobalOnError",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "timeout",
    "description" : "",
    "type" : "integer",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}