Here is an activity diagram for the document management process:
[DOCUMENT MANAGEMENT PROCESS]
Create Document -> Review Document -> [Approve?] -> Yes -> Archive Document | No -> Update Document -> Review Document
The activity starts with an author creating a document. The document is then sent to a reviewer for review. There is a decision point to determine if the document is approved. If approved, the document is archived. If not approved, the document goes back to the author for updates, and then back to the reviewer again for additional review.
Roles:
Author
Reviewer
Approver
Owner
Here is an activity diagram for the ticket vending machine process:
[TICKET