Skip to main content

The purpose of this plugin is to split the workflow depending on whether it is day or night of its execution.

Project description

Day, Night split action

The purpose of this plugin is to split the workflow depending on day or night of its execution.

It will check if the event happened at day or night. Then it will route the workflow to the appropriate output port.

This action minds the location of the event. Therefore, you must provide latitude and longitude in configuration.

Configuration

This node requires configuration. In order to read longitude or latitude you must define path to its data. Use dot notation to do that.

Example

{
  "latitude": "payload@location.latitude",
  "longitude": "payload@location.longitude"
}

Input payload

This node does not process input payload.

Output

This node has two output nodes. One for DAY route and one for NIGHT node. The DAY one is active when event happened at day. The NIGHT node is active when it is night.

Active output ports will return input payload.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-day-night-split-0.6.1.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

tracardi_day_night_split-0.6.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page