Service Report #002
Date: 2025-12-22
1. Work Permit Workflow Prototype - Initial Phase Complete
The Work Permit Workflow Prototype is now considered complete for the initial phase.
The prototype follows the original workflow design. Some parts of the original requirements were not clear enough, so we made predictions to complete the workflow. The prototype needs extensive testing and we welcome all feedback.
What's Implemented:
- 14 workflow states across 5 phases
- 18 workflow commands (+ Cancel)
- 8 work permit types (DocumentForms 8-15)
- Document management with state-based visibility and edit permissions
- Co-review mechanism (3 approvers for PTW, Extension, Close)
- Evaluation phase (2 approvers: Work Owner + Safety Officer)
- Print-only documents: Training Attendance, Worker Badges, Worksite Poster
Documentation: Work Permit Workflow
2. Project Registration Workflow - Next Steps
No progress on Project Registration Workflow since the last report. The effort was focused on completing the Work Permit Workflow Prototype.
Identified Work:
During the Work Permit development, we identified standards and patterns that should be applied to the Project Registration Workflow:
- State metadata configuration for UI consistency
- SVG workflow visualization with cell ID mapping
- Document edit permissions per state
- Role-based access control patterns
Next Priority:
- Apply the established patterns to Project Registration Workflow
- Address pending bugs and enhancement requests
- Complete the workflow integration with Temporal.io
3. Feedback Feature
The application now has a Feedback button in the task review toolbar. This is a shortcut to report bugs or issues directly from each workflow state.
How to Use:
- Open any task in the review view
- Click the Feedback button in the toolbar (next to the Print button)
- The dialog shows the current workflow state and metadata
- Submit your feedback with details about what you observed
We recommend trying this feature when testing the Work Permit Workflow Prototype.
4. GitHub Project Updated
The GitHub Project has been updated with the current status of tasks and issues.
GitHub Project: https://github.com/orgs/thai-scada/projects/24
Recommended Starting Point:
- Check the "In Review" column for items ready for testing
- Review items in "In Progress" for ongoing work
- Use the Feedback feature to report any issues found during testing