You are on page 1of 4

Add Cattle:

Cattle rancher (primary actor) -> System: Navigate to add cattle record page

Cattle rancher -> System: Enter new cattle information

Cattle rancher -> System: Submit form

System -> System: Validate information and check for errors

System -> Cattle rancher: Display error message (if errors found)

alt (errors found)

Cattle rancher -> System: Correct information and resubmit form

else (no errors found)

System -> System: Add new cattle record to database

System -> Cattle rancher: Display confirmation message

Remove Cattle:

Cattle rancher (primary actor) -> System: Navigate to remove cattle record page

Cattle rancher -> System: Select or search for cattle record to remove

System -> Cattle rancher: Display selected cattle record for confirmation

Cattle rancher -> System: Confirm removal of record

System -> System: Remove cattle record from database

System -> Cattle rancher: Display confirmation message

alt (record does not exist)

System -> Cattle rancher: Display error message

Update Records:

Cattle rancher (primary actor) -> System: Navigate to update cattle buying/selling record page

Cattle rancher -> System: Select or search for cattle record to update

System -> Cattle rancher: Display selected cattle record

Cattle rancher -> System: Update record with acquisition/sale information

Cattle rancher -> System: Submit updated record

System -> System: Validate information and check for errors


System -> Cattle rancher: Display error message (if errors found)

alt (errors found)

Cattle rancher -> System: Correct information and resubmit updated record

else (no errors found)

System -> System: Update cattle buying/selling record

System -> Cattle rancher: Display confirmation message

Generate Report:

Cattle rancher (primary actor) -> System: Navigate to request cattle management report page

Cattle rancher -> System: Select report parameters

Cattle rancher -> System: Submit report request

System -> System: Generate report based on parameters and available data

System -> Cattle rancher: Provide report in specified format

alt (report parameters result in no data)

System -> Cattle rancher: Display error message


Add Cattle:

Cattle rancher (primary actor) -> System: Navigate to add cattle record page

Cattle rancher -> System: Enter new cattle information

Cattle rancher -> System: Submit form

System -> System: Validate information and check for errors

System -> Cattle rancher: Display error message (if errors found)

alt (errors found)

Cattle rancher -> System: Correct information and resubmit form

else (no errors found)

System -> System: Add new cattle record to database

System -> Cattle rancher: Display confirmation message

Remove Cattle:

Cattle rancher (primary actor) -> System: Navigate to remove cattle record page

Cattle rancher -> System: Select or search for cattle record to remove

System -> Cattle rancher: Display selected cattle record for confirmation

Cattle rancher -> System: Confirm removal of record

System -> System: Remove cattle record from database

System -> Cattle rancher: Display confirmation message

alt (record does not exist)

System -> Cattle rancher: Display error message

Update Records:

Cattle rancher (primary actor) -> System: Navigate to update cattle buying/selling record page

Cattle rancher -> System: Select or search for cattle record to update

System -> Cattle rancher: Display selected cattle record

Cattle rancher -> System: Update record with acquisition/sale information

Cattle rancher -> System: Submit updated record


System -> System: Validate information and check for errors

System -> Cattle rancher: Display error message (if errors found)

alt (errors found)

Cattle rancher -> System: Correct information and resubmit updated record

else (no errors found)

System -> System: Update cattle buying/selling record

System -> Cattle rancher: Display confirmation message

You might also like