Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
activity.go
activity_test.go
descriptor.json
go.mod
go.sum

README.md

Return

This activity allows you to reply to a trigger invocation and map output values. After replying to the trigger, the flow ends (this will be the last actvity in your flow).

Installation

Flogo CLI

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

Configuration

Settings:

Name Type Description
mappings object Set of mappings to execute when the activity runs

Example

The below example allows you to configure the activity to reply and set the output values to literals "name" (a string) and 2 (an integer).

{
  "id": "return",
  "name": "Return",
  "activity": {
    "ref": "github.com/project-flogo/contrib/activity/actreturn",
    "settings": {
      "mappings": {
        "Output1":"name",
        "Output2":2
      }
    }
  }
}
You can’t perform that action at this time.