Working with UI
Overview
The OKMFlow workflow engine provides a web-based user interface for managing workflow process definitions, monitoring active workflow instances, designing workflows, and administering the system. The interface is organized into several menu sections, each providing specific functionality based on user roles and permissions.
Main Menu Options
| Menu Option | Access Level | Description |
|---|---|---|
|
All users |
The Home panel is the main dashboard for workflow management. It displays two primary sections:
|
|
|
All users |
The Designer is a graphical workflow editor that becomes active only when a user clicks the edit icon from the Home panel. It provides:
|
|
|
ROLE_ADMIN only |
The Users section allows administrators to manage workflow engine users and their access privileges. This menu option is visible only to users who are members of the ROLE_ADMIN role. Key functions include:
Users managed in this section are specific to the workflow engine. These are separate from OpenKM application users, though they may correspond to the same individuals. |
|
|
Tools |
ROLE_ADMIN only |
The Tools menu provides access to administrative utilities for workflow engine management. This menu option is accessible only to members of the ROLE_ADMIN role. Currently available tool:
The database query interface provides:
Important: The database query tool provides direct database access. Use with caution as incorrect queries can affect workflow engine data integrity. Only experienced administrators should use this tool. |
|
Admin |
Mixed |
The Admin menu provides access to administrative functions and application information. It contains three options:
|
User Interface Layout
The OKMFlow user interface follows a consistent layout structure:
- Top navigation bar: Contains the main menu options (Home, Designer, Users, Tools, Admin) with role-based visibility
- Main content area: Displays the active panel (Home dashboard, Designer canvas, Users management, etc.)
- Context-sensitive panels: Additional panels appear based on the current operation (e.g., node properties in Designer, query results in Tools)
Role-Based Access Control
The workflow engine implements role-based access control to restrict functionality based on user roles:
| Role | Accessible Menu Options |
|---|---|
| All users | Home, Designer (when editing), some Admin options ( About, Logout ) |
| ROLE_ADMIN | All menu options, including Users, Tools, and all the Admin options |
Users who need access to administrative functions must be explicitly assigned to the ROLE_ADMIN role through the Users menu by an existing administrator.
Best Practices
- Use descriptive workflow names: Choose clear, meaningful names for process definitions to facilitate workflow identification
- Activate workflows selectively: Only activate workflows that are tested and ready for production use
- Monitor process instances regularly: Check the Process instances panel to identify stuck or problematic workflows
- Export workflows before major changes: Create backups by exporting workflow definitions before making significant modifications
- Limit administrative access: Only assign ROLE_ADMIN to users who require full system access
- Use database queries carefully: The Tools → Database query function should be used cautiously and only by experienced administrators
- Document workflow versions: Maintain clear version control when updating workflow definitions
- Test in Designer thoroughly: Validate workflow logic and node configurations in the Designer before activating
The workflow engine interface integrates with the OpenKM document management system, allowing workflows to be triggered from and operate on OpenKM documents and folders.