Mapper

Mapper

This activity allows you to map values to the working attribute set of an action.

Installation

Flogo CLI

flogo install github.com/project-flogo/contrib/activity/mapper

Configuration

Settings:

Name Type Description
mappings object Set of mappings to execute

Example

The below example allows you to configure the activity to map the output ‘value’ of activity ‘myActivity’ to FlowAttr1

{
  "id": "mapper",
  "name": "Mapper",
  "activity": {
    "ref": "github.com/project-flogo/contrib/activity/mapper",
    "input": {
      "mappings": 
        {
          "FlowAttr1": "=$activity[myActivity].value"
        }
      ]
    }
  }
}