In the following example, switching swimlanes inside the while loop causes a duplicate loop structure to get rendered in the swimlane it switches too, where as i would expect the single loop structure to exist. It looks as if the loop gets rendered correctly with the exception of the additional ghost loop in the other swimlane.
I'm happy to be told that there there is another way to achieve this :)
@startuml
|Customer|
start
:Sends request;
|Team|
:Reviews request;
while (Details sufficient?) is (No)
:requests more detail;
|Customer|
:Provides more detail;
|Team|
:re-reviews the request;
endwhile (Yes)
:Forwards request;
end
@enduml