# flogo_metric_data_trigger **Repository Path**: shipnet_masterclock/flogo_metric_data_trigger ## Basic Information - **Project Name**: flogo_metric_data_trigger - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-26 - **Last Updated**: 2021-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Channel Trigger This trigger provides your flogo application the ability to start an action via a named engine channel ## Installation ```bash flogo install github.com/project-flogo/contrib/trigger/channel ``` ## Configuration ### Handler Settings: | Name | Type | Description |:--- | :--- | :--- | channel | string | The internal engine channel - **REQUIRED** #### Output: | Name | Type | Description |:--- | :--- | :--- | data | any | The data pulled from the channel ## Example Configurations Triggers are configured via the triggers.json of your application. The following are some example configuration of the Channel Trigger. ### Run Flow Configure the Trigger to handle an event received on the 'test' channel ```json { "triggers": [ { "id": "flogo-channel", "ref": "github.com/project-flogo/contrib/trigger/channel", "handlers": [ { "settings": { "channel": "test" }, "action": { "ref": "github.com/project-flogo/flow", "settings": { "flowURI": "res://flow:testflow" } } } ] } ] } ``` Note: a channel must be defined in the app in order to use it in a trigger or activity. A channel is specified by "\:\" ``` "channels": [ "test:5" ] ```