Changes between Version 1 and Version 2 of UseCase0004
- Timestamp:
- 09/02/26 18:04:03 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCase0004
v1 v2 3 3 '''Initiating actor:''' Board Member 4 4 5 A Board Member records attendance for a Full Member Meeting. The scenario checks attendance for the Full Member Meeting held on 12 March 2026.5 A Board Member opens a Full Member Meeting attendance list and records attendance statuses for full members. In this scenario, the Board Member is acting as the Secretary. 6 6 7 7 == Scenario == 8 8 9 1. The Board Member opens the attendance screen for the Full Member Meeting.9 1. The Board Member opens the attendance page for the Full Member Meeting on 12 March 2026. 10 10 11 2. The application lists full members with their RSVP, attendance status, and a bsence reasonif one exists.11 2. The application lists full members with their RSVP, attendance status, and announced absence if one exists. 12 12 13 13 {{{#!sql … … 16 16 s.first_name, 17 17 s.last_name, 18 COALESCE(p.rsvp_status, 'no_response') ASrsvp_status,19 COALESCE(p.attendance_status, 'not_checked') ASattendance_status,18 p.rsvp_status, 19 p.attendance_status, 20 20 aa.reason 21 21 FROM full_members fm … … 24 24 LEFT JOIN participation p 25 25 ON p.student_index = fm.student_index 26 AND p.at_name = 'Full Member Meeting' 27 AND p.as_start_time = TIMESTAMP '2026-03-12 18:00:00' 28 AND p.as_location = 'BEST Office' 26 AND p.as_id = 8 29 27 LEFT JOIN announces_absence aa 30 28 ON aa.student_index = fm.student_index 31 AND aa.at_name = 'Full Member Meeting' 32 AND aa.as_start_time = TIMESTAMP '2026-03-12 18:00:00' 33 AND aa.as_location = 'BEST Office' 29 AND aa.as_id = 8 34 30 ORDER BY s.last_name, s.first_name; 35 31 }}} 36 32 37 3. The Board Member marks Mila Jovanovskaas excused.33 3. The Board Member marks member 230005 as excused. 38 34 39 35 4. The application updates the attendance status. … … 43 39 SET attendance_status = 'excused' 44 40 WHERE student_index = 230005 45 AND at_name = 'Full Member Meeting' 46 AND as_start_time = TIMESTAMP '2026-03-12 18:00:00' 47 AND as_location = 'BEST Office'; 41 AND as_id = 8; 48 42 }}} 49 43 50 5. The application refreshes the attendance list.44 5. The application shows the updated attendance row. 51 45 52 46 {{{#!sql … … 56 50 s.last_name, 57 51 p.rsvp_status, 58 p. rsvp_at,59 p.attendance_status52 p.attendance_status, 53 aa.reason 60 54 FROM participation p 61 55 JOIN students s 62 56 ON s.student_index = p.student_index 63 WHERE p.at_name = 'Full Member Meeting' 64 AND p.as_start_time = TIMESTAMP '2026-03-12 18:00:00' 65 AND p.as_location = 'BEST Office' 66 ORDER BY s.last_name, s.first_name; 57 LEFT JOIN announces_absence aa 58 ON aa.student_index = p.student_index 59 AND aa.as_id = p.as_id 60 WHERE p.student_index = 230005 61 AND p.as_id = 8; 67 62 }}}
