Gap Analysis: OMGT Task Management
Context: Order Management (OMGT) - OrderController
Scope: Callbacks (Legacy) and General Tasks (Missing)
1. Executive Summary
The current system relies on a legacy "Callback" feature that is disconnected from the modern "ToDo List" ecosystem. Furthermore, there is no capability to assign generic tasks (e.g., "Check Visa", "Send Invoice") directly from the Order context, leading to lost actions and reliance on external tools (Post-it notes, Excel).
2. Analyzed Scenarios
| Feature | Current State | Desired State | Gap Severity |
|---|---|---|---|
| Assign Callback | Email-based "Fire-and-Forget". No integration with ToDo List. | Creates a ToDoListItemNG. | 🔴 Critical |
| Close Callback | Binary toggle (Open/Close). No specific outcome (e.g., "Voicemail left"). | Resolution Status (Done, Postponed, Cancelled). | 🟠 High |
| View Callbacks | Local list on Order Page Only. Invisible in global Dashboard. | Visible in "My Tasks" Dashboard. | 🔴 Critical |
| General Tasks | Non-existent. User cannot create a generic task. | ability to create any type of task linked to the Order. | 🔴 Critical |
3. Detailed Gaps
3.1. The "Fire-and-Forget" Problem (Assign)
- As-Is: Creating a callback sends an email. If the recipient deletes the email, the task is effectively lost unless they check the specific Order page.
- To-Be: Notifications should be auxiliary. The "Task" must exist in a persistent, global worklist (
ToDoListNG).
3.2. The "Outcome Blindness" (Close)
- As-Is: The user clicks "Close". We don't know why or what happened.
- To-Be: When closing, system should ask: "Outcome?" (e.g., "Contacted", "No Answer - Rescheduled").
3.3. The "Missing Link" (General Tasks)
- As-Is:
OrderControllerhas 100% no references toToDoListNGor generic Tasks. - To-Be: A "Tasks" panel should replace "Callbacks", allowing creation of both Callbacks (phone) and Generic Tasks.
4. Recommendations
Phase 1: Bridge the Gap (Sync)
- Modify
CallbackComponentService.Createto also insert aToDoListItemNG. - This makes Callbacks visible in the Dashboard immediately.
Phase 2: Modernize UI (Task Panel)
- Replace the
_Callbacks.cshtmlpartial with a new_TaskManagement.cshtml. - Allow selecting Task Type: "Callback" vs "Generic".
Phase 3: Enhanced Lifecycle (Resolutions)
- Update
CloseCallbackto accept aResolutionId.