@startuml
title Asset Version Management - Example Workflow
actor User as U
participant "Asset (ID: 23, Version: 1)" as A23
participant "Workcopy (ID: 24, Version: 2)" as W24
participant "System" as S
participant "Archived Asset (ID: 26)" as A26
U -> A23 : Request Workcopy Creation
A23 -> S : Send Metadata (UID: AssetType_23, Version: 1, Status: Published)
S -> W24 : Create Workcopy (ID: 24, Status: Draft)
W24 -> W24 : Copy Metadata from Asset 23
W24 -> A23 : Reference Asset 23 (copietravail)
U <-- W24 : Workcopy Created (ID: 24, Version: 2)
U -> W24 : Edit Workcopy
W24 -> S : Save Changes
U -> W24 : Publish Workcopy
W24 -> S : Request Publish
S -> A23 : Archive Asset 23
A23 -> A26 : Archive Created (ID: 26, Status: Archived)
S -> A23 : Replace with Workcopy ID: 24
destroy W24
U <-- A23 : Asset Updated (ID: 23, Version: 2, Status: Published)
@enduml
|