Platform Explorer / Nuxeo Platform 6.0

Operation Context.ApplyMappingOnTask (Apply mapping on input task doc)

Description

Applies the mapping passed in parameter on the task document. The sourceDoc in the mapping is the input document in the workflow. The operation throws a ClientException if the input document is not a Task.
Operation id Context.ApplyMappingOnTask
Category Workflow Context
Label Apply mapping on input task doc
Requires Workflow
Since

Parameters

Name Description Type Required Default value
mappingName string yes  

Signature

Inputs document
Outputs document

Implementation Information

JSON Definition

{
  "id" : "Context.ApplyMappingOnTask",
  "label" : "Apply mapping on input task doc",
  "category" : "Workflow Context",
  "requires" : "Workflow",
  "description" : "Applies the mapping passed in parameter on the task document. The sourceDoc in the mapping is the input document in the workflow. The operation throws a ClientException if the input document is not a Task.",
  "url" : "Context.ApplyMappingOnTask",
  "signature" : [ "document", "document" ],
  "params" : [ {
    "name" : "mappingName",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}