afifazfar07 / ict2201-p1-8

0 stars 0 forks source link

UC-2 Assign Job to Staff #61

Open afifazfar07 opened 2 years ago

afifazfar07 commented 2 years ago
Use Case ID: | UC-2 -- | -- Use Case Name: | Assign job to staff. Description: | Assign job based on manpower availability and staff preference to staff. Primary Actor: | Manager Preconditions: | Manager is logged in. Job must be available. Staff must be registered in Database. Postconditions: | Main: Confirmation e-mail sent. System updates in the Database. Main Success Scenarios: | Manager selects date for job. Manager selects ferry route. Manager selects ferry route timeslot. Manager selects captain for ferry route. Manager selects crew for ferry route. Manager submits input. System prompts Manager to confirm his/her input. Manager accepts confirmation. System updates the Database. System displays updated planning page. Confirmation e-mail is sent to Staff e-mail mailbox. Alternative Scenarios: | 1a. Date selected is out of range. 1a1. System prompts the staff to select a date within the valid range. 9a. System fails to update Database. 9a1. System gives a message that the date was not saved. 9a2. Staff can choose to retry or quit screen. 11a. E-mail fails to reach its destination because mailbox is full. 11a1. System displays e-mail has failed to reach its target.  11a2. Staff can choose to retry sending e-mail or quit screen. Priority | High
S0meDev99 commented 2 years ago

Looks good to me!

ShaneLimJiXuan commented 2 years ago

Looks good!

afifazfar07 commented 2 years ago

Looks good to me