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 time zone of the event. Therefore, you must provide time zone in configuration. By default, time zone is included in browser event context.
Configuration
This node requires configuration. In order to read timezone you must define path to time zone data. Use dot notation to do that.
Example
{
"timezone": "session@context.time.tz"
}
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tracardi-day-night-split-0.6.0.tar.gz
.
File metadata
- Download URL: tracardi-day-night-split-0.6.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b1f0c16f735affcfc297bfec8cad1a27f7fe581ece2cda389af61fd7203e40c |
|
MD5 | a8571c14305a44f1e3666a263fd03a60 |
|
BLAKE2b-256 | 7b0b740e38964131c0ce726cb66818d5068f49c3c1244fb17e9951e31b5ba01c |
File details
Details for the file tracardi_day_night_split-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: tracardi_day_night_split-0.6.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73f2b6e44835a4d90e2ec6f3f046e135285a08746587380ecb3a396fba9ca3b7 |
|
MD5 | f042fe68493f2cda901baabf4b974d7d |
|
BLAKE2b-256 | 4b15f7e7ac911be388077d338b880e79995c7068f3c25c394ef5d43355d98ffd |