How sachinsulu/workflow-orchestration works
This Django task-management application lets staff request accounts, work on assigned tasks, and track progress; administrators approve users and managers oversee work. The core task workflow creates a task, queues ML-based assignment and priority scoring, then supports status updates and recalculation. Separate account and task views provide dashboards, profiles, task boards, comments, and administration. The excerpts establish key calls between views, Celery tasks, services, ML utilities, and models; README documentation is absent, so capabilities and links beyond the sampled source are limited to evidence in the source index and tree.
Main entry points: models.py Tasks & Comments · accounts/views.py Account Views · workflow/views.py Task Views · services.py Assignment Service
Components 13
Accounts & Roles
- Account Views
accounts/views.py - Account Forms
accounts/forms.py - Users & Requests
accounts/models.py
Task Workflow
- Task Views
workflow/views.py - Task Forms
workflow/forms.py - Tasks & Comments
workflow/models.py
Assignment & Scoring
- Assignment Service
workflow/services.py - ML Predictions
workflow/ml_utils.py - Priority Model
ml_models/task_priority_model.joblib - Assignment Model
ml_models/assignment_model.joblib
Background Processing
- Celery App
myproject/celery.py - Async Task Jobs
workflow/tasks.py
Other components
- Staff
Connections 17
- Staff → Account Views: requests access
- Account Views → Account Forms: validates signup
accounts/views.py - Account Views → Users & Requests: creates users
accounts/views.py - Account Views → Tasks & Comments: counts pending
accounts/views.py - Staff → Task Views: manages tasks
- Task Views → Task Forms: validates task
workflow/views.py - Task Views → Tasks & Comments: reads and updates
workflow/views.py - Task Views → Async Task Jobs: queues scoring
workflow/views.py - Async Task Jobs → Tasks & Comments: loads task
workflow/tasks.py - Async Task Jobs → Assignment Service: runs service
workflow/tasks.py - Assignment Service → Users & Requests: selects candidates
workflow/services.py - Assignment Service → Tasks & Comments: reads and saves
workflow/services.py - Assignment Service → ML Predictions: requests predictions
workflow/services.py - ML Predictions → Tasks & Comments: measures workload
workflow/ml_utils.py - ML Predictions → Priority Model: loads model
workflow/ml_utils.py - ML Predictions → Assignment Model: loads model
workflow/ml_utils.py - Celery App → Async Task Jobs: discovers jobs
myproject/celery.py