Dependencies
Before setting up the plugin, ensure you have the following dependencies:- A MongoDB database for task storage
- A connection to the RuntimeDB for operational data
- Access to the database used by the FlowX Engine
- Connection to the Kafka instance used by the FlowX Engine
- A Redis instance for caching and performance optimization
Authorization configuration & access roles
Configure the following variables to connect to your identity management platform:A dedicated service account must be configured in your OpenID provider. The task management service account requires
view-users, query-users, and query-groups client roles from realm-management to support task auto-assignment.OpenID connect settings
The Task Management plugin supports Microsoft Entra ID as an OpenID provider.
For more detailed information about configuring the service account:
Task Management Service Account
FlowX Engine datasource configuration
The service needs access to process instance data from the engine database. Configure these connection parameters:MongoDB configuration
Configure access to the primary MongoDB instance:Task Manager requires a runtime connection to function correctly. Starting the service without a configured and active runtime MongoDB connection is not supported.
Runtime MongoDB configuration
Task Manager requires a runtime connection to function correctly. Starting the service without a configured and active runtime MongoDB connection is not supported.
Redis configuration
Task Management Plugin uses Redis for caching. Configure Redis connection using the standard Redis environment variables. Quick reference:Both
SPRING_DATA_REDIS_* and SPRING_REDIS_* variable prefixes are supported. The SPRING_DATA_REDIS_* prefix is the modern Spring Boot standard and is recommended for new deployments.For advanced Redis deployment modes (Sentinel, Cluster) and SSL/TLS setup, see the Redis Configuration guide. Note that Sentinel and Cluster modes are only supported by the Events Gateway service.
Kafka configuration
Configure the Kafka integration using these environment variables:Core Kafka settings
OAuth authentication (when using SASL_PLAINTEXT)
When using the
kafka-auth profile, the security protocol will automatically be set to SASL_PLAINTEXT and the SASL mechanism will be set to OAUTHBEARER.Topic naming configuration
Kafka topics
Process management topics
Scheduling topics
User management topics
Task operations topics
Events and integration topics
The Engine listens for messages on topics with specific naming patterns. Ensure you use the correct outgoing topic names when configuring the Task Management plugin to maintain proper communication with the engine.
CAS lib configuration
Logging configuration
Control logging verbosity with these environment variables:Ingress configuration
The Task Management plugin uses the standard FlowX.AI ingress pattern. For complete setup instructions including the full ingress template, CORS configuration, and troubleshooting, see the Ingress Configuration Guide. Service-specific values for Task Management Plugin:- Ingress name:
task-management-plugin-admin - Service path:
/task(/|$)(.*)(/|$)(.*) - Service name:
task-management-plugin - Rewrite target:
/$2 - Fx-Workspace-Id: Required
Complete Ingress Configuration
View the centralized ingress guide for the complete configuration template, annotations reference, and best practices.

