@startuml
autoactivate on

actor User
participant Controller
participant ServiceA
participant ServiceB
participant Model
participant View

User -> Controller: request
autoactivate off
Controller -> Controller: Validate params
note left: Validate params here...

autoactivate on
Controller -> ServiceA: call
autoactivate off
ServiceA -> ServiceA: some logic
return

autoactivate on
Controller -> ServiceB: call
autoactivate off
ServiceB -> ServiceB: some logic

autoactivate on
ServiceB -> Model: interact
note right: ...not here\n(too late)
return ...
return ...

Controller -> View: render
return HTML

return HTML
@enduml
