This repository shows an example workflow orchestrating different QHAna plugins.
First, start the QHAna plugin runner using the docker setup provided here.
The Camunda workflow engine is dockerized and can be automatically started and initialized with the example workflow using Docker-Compose:
- Update the .env file with your settings:
PUBLIC_HOSTNAME
: Enter the hostname/IP address of your Docker engine. Do not uselocalhost
.
- Run the Docker-Compose file:
docker-compose pull
docker-compose up --build
To execute the workflow, open $PUBLIC_HOSTNAME:8080
after the Docker container has been started successfully to access the Camunda Engine UI:
-
Create a new user and login.
-
Open the
Tasklist
application which can be accessed by using the button in the top-right corner. -
Click on
Start process
and select thequantum-workflow-demonstrator
. -
Provide the required input parameters, e.g., the input data provided in this repository
https://github.com/wederbn/qhana-workflow-low-code/blob/main/data/sym_max_mean.zip?raw=true
) -
Start the workflow.
-
Switch to the
Cockpit
application to monitor the token flow and the current variables of the workflow instance. -
Once the workflow instance reaches the final User Task, switch back to the
Tasklist
application and click onAdd a simple filter
on the left. -
Afterwards, a task object is displayed. Select this task object and retrieve the final clustering results..
-
Finally, click on
Complete
to terminate the workflow instance. -
To shut down the setup, run
docker-compose down -v
in the folder containing the Docker-Compose file.