The framework provides pluggable workflows that, as much as possible, are kept separate from each other. Workflows can be imported/exported to/from other BlueCat Gateway instances. Each workflow is contained in its own directory underneath the workflows sub-directory of the main application directory.
The structure of UI workflows is as follows:
workflows
workflow_name
__init__.py - Python file containing a definition of the workflow contents
templates - Jinja2 templates
css - CSS files
js - JavaScript
img - images
workflow_name_page.py
Note: Here, REST endpoints do not have subdirectories.