For any questions or issues related to workflow provisioning, please join our Slack community.
Configuring Workflows
To provision workflows, follow these steps:- Set the
KEEP_WORKFLOWS_DIRECTORY
environment variable to the path of your workflow configuration directory. - Create workflow configuration files in the specified directory.
Update Provisioned Workflows
On every restart, Keep reads theKEEP_WORKFLOWS_DIRECTORY
environment variable and determines which workflows need to be added, removed, or updated.
This process allows for flexible management of workflows without requiring manual intervention. By simply updating the workflow files in the KEEP_WORKFLOWS_DIRECTORY
and restarting the application, you can efficiently add new workflows, remove existing ones, or modify their configurations.
The high-level provisioning mechanism:
- Keep reads the
KEEP_WORKFLOWS_DIRECTORY
value. - Keep lists all workflow files under the
KEEP_WORKFLOWS_DIRECTORY
directory. - Keep compares the current workflow files with the previously provisioned workflows:
- New workflow files are provisioned.
- Missing workflow files are deprovisioned.
- Updated workflow files are re-provisioned with the new configuration.
- Keep updates its internal state to reflect the current set of provisioned workflows.