Platform Explorer / Nuxeo Platform 6.0

Operation Task.ApplyDocumentMapping

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 NuxeoException if the input document is not a Task.
Operation id Task.ApplyDocumentMapping
AliasesContext.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

Implementation class org.nuxeo.ecm.platform.routing.api.operation.MapPropertiesOnTaskOperation
Contributing component org.nuxeo.ecm.platform.routing.operations

JSON definition

{
  "id" : "Task.ApplyDocumentMapping",
  "aliases" : [ "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 NuxeoException if the input document is not a Task.",
  "url" : "Task.ApplyDocumentMapping",
  "signature" : [ "document", "document" ],
  "params" : [ {
    "name" : "mappingName",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}