@startuml
autonumber
box Buyer of new line
participant b as "Ordering"
box Seller TMF622
participant po as "ProductOrder"
participant cpo as "RescheduleProductOrder"
box Buyer of old line
participant bo as "Ordering"
b -> cpo : POST RescheduleProductOrder
cpo-->b : 201 Created (acknowledged)
cpo -> b: POST RescheduleProductOrderStateChangeEvent (inProgress)
note right: if the request for rescheduling is rejected by the seller,\nthis message is optional (see [[TaskStateType TaskStateType]])
alt Request for rescheduling is rejected
cpo -> b: POST RescheduleProductOrderStateChangeEvent (rejected)
else Date will be postponed
po -> b: POST ProductOrderAttributeValueChangeEvent
note right: e.g.: requestedCompletionDate
alt ProductOrder in state inProgress
note over po, bbo: Insert sequence [[https://confluence.telekom-mms.com/pages/viewpage.action?pageId=495177173 Send new order confirmation]]
else in all other ProductOrder in state accepted states
po -> b: POST ProductOrderAttributeValueChangeEvent
note right: e.g.: expectedCompletionDate
po -> b: POST ProductOrderStatusChangeEvent(inProgress)
opt category = PV or category = VBL
po -> bo: POST ProductOrderAttributeValueChangeEvent
note right: e.g.: expectedCompletionDate
po -> bo: POST ProductOrderStatusChangeEvent(inProgress)
end
end
cpo -> b: POST RescheduleProductOrderStateChangeEvent (done)
end
@enduml |