-
Notifications
You must be signed in to change notification settings - Fork 1
Use Cases: Task Basics
Mica edited this page Apr 9, 2018
·
17 revisions
| Use Case Number | UC 01.01.01 |
|---|---|
| Participating Actors | Task requester |
| Goal | Task Requestor adds a task to their list of tasks |
| Trigger | Task Requestor chooses the Add Task option on the My Listings page |
| Precondition | Task requestor has task in mind to add |
| Postcondtion | Task is added to the list of tasks for task requester |
| Basic Flow 1 | System prompts task requester for a task title, description and photograph(s) |
| 2 | Task requestor submits title, description, optional photograph(s), and optional geolocation |
| 3 | System checks size of photograph if it was provided |
| 4 | System stores task |
| 5 | System sets status of task to requested |
| Exception 2.1 | If required details are missing from the task |
| 2.1.1 | System displays an error message |
| 2.1.2 | System returns to step 2 |
| Exception 2.2 | If title is greater than 30 characters in length |
| 2.2.1 | System displays an error message |
| 2.2.2 | System returns to step 2 |
| Exception 2.3 | If the description is greater than 300 characters in length |
| 2.3.1 | System displays an error message |
| 2.3.2 | System returns to step 2 |
| Exception 3 | If the photograph exceeds the maximum size |
| 3.1 | System displays error message |
| 3.2 | System returns to step 1 |
| Exception 4 | System is unable to reach server for storing task |
| 4.1 | System stores task in a local cache |
| 4.2 | System re-connects to server |
| 4.3 | System sends cached task to server |
| Related Artifacts | US 01.01.01, US 01.01.02, US 01.01.03, US 02.02.01, US 08.01.01, US 09.01.01, US 09.03.01, US 10.01.01 |
| Use Case Number | UC 01.02.01 |
|---|---|
| Participating Actors | Task requester |
| Goal | Task requester views a list of all of their requested tasks |
| Trigger | Task requester chooses the My Listings option |
| Precondition | Task Requester wants to view their requested tasks |
| Postcondtion | List of tasks is shown to task requester |
| Basic Flow 1 | System shows the list of all tasks that belong to the task requester |
| Exception 1 | If no tasks have been requested |
| 1.1 | System displays message alerting user as to no requested tasks |
| Related Artifacts | US 01.02.01 |
| Use Case Number | UC 01.03.01 |
|---|---|
| Participating Actors | Task Requester |
| Goal | Task Requester edits their title or description of their task |
| Trigger | Task Requester selects an existing requested task |
| Precondition | Task requester must know what task they want to edit and what details to change |
| Postcondtion | The task details are updated |
| Basic Flow 1 | Task Requester is presented with the existing details of the task |
| 2 | Task Requester edits any of the details or photographs |
| 3 | System updates the task with the new details |
| Exception 1 | Task Requester decides they do not want to edit the task |
| 1.1 | System returns to previous activity |
| Exception 2.1 | If any required details are blank (excludes photograph and geolocation) |
| 2.1.1 | System displays error message |
| 2.1.2 | System returns to step 2 |
| Exception 2.2 | If the photograph exceeds the maximum size |
| 2.2.1 | System displays error message |
| 2.2.2 | System returns to step 2 |
| Exception 2.3 | If title is greater than 30 characters in length |
| 2.3.1 | System displays an error message |
| 2.3.2 | System returns to step 2 |
| Exception 2.4 | If the description is greater than 300 characters in length |
| 2.4.1 | System displays an error message |
| 2.4.2 | System returns to step 2 |
| Exception 3 | System is unable to store the changes to the server |
| 3.1 | System stores task to local cache |
| 3.2 | Upon re-connection to server task in cache is sent to the server |
| Related Artifacts | US 01.01.02, US 01.01.03, US 01.03.01, US 08.01.01, US 09.01.01, US 09.03.01, US 10.01.01 |
| Use Case Number | UC 01.04.01 |
|---|---|
| Participating Actors | Task Requester |
| Goal | Task Requester deletes one of their tasks |
| Trigger | Task Requester chooses the delete task option from edit task window |
| Precondition | The task must exist |
| Postcondtion | The task no longer exists |
| Basic Flow 1 | System removes task |
| Exception 1 | Task does not exist |
| 1.1 | System reports task as deleted |
| Related Artifacts | US 01.04.01 |