Platform Explorer / Nuxeo Platform 5.6

Operation Workflow.CreateRoutingTask

Create task

Description

Enable to create a routingTask bound to a route and its document. In accept operation chain and reject operation chain fields, you can put the operation chain ID of your choice among the one you contributed. Those operations will be executed when the user validates the task, depending on whether he accepts or rejects the task. Extra (String) properties can be set on the taskVariables from the input document or from the step.
Operation id Workflow.CreateRoutingTask
Category Services
Label Create task
Requires
Since 5.6

Parameters

Name Description Type Required Default value
accept operation chain string no  
mappingProperties properties no  
mappingTaskVariables properties no  
reject operation chain string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.platform.routing.dm.operation.CreateRoutingTask
Contributing component org.nuxeo.ecm.platform.routing.dm.operations

JSON definition

{
  "id" : "Workflow.CreateRoutingTask",
  "label" : "Create task",
  "category" : "Services",
  "requires" : null,
  "description" : "Enable to create a routingTask bound to a route and its document. In <b>accept operation chain</b> and <b>reject operation chain</b> fields, you can put the operation chain ID of your choice among the one you contributed. Those operations will be executed when the user validates the task, depending on  whether he accepts or rejects the task. Extra (String) properties can be set on the taskVariables from the input document or from the step.",
  "since" : "5.6",
  "url" : "Workflow.CreateRoutingTask",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "accept operation chain",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 4,
    "values" : [ ]
  }, {
    "name" : "mappingProperties",
    "description" : "",
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "mappingTaskVariables",
    "description" : "",
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "reject operation chain",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 5,
    "values" : [ ]
  } ]
}