Problem
Annotations attached to statements inside loop or while bodies can disappear after a microflow describe/exec roundtrip.
The builder copies sequence flows from nested loop builders back to the parent graph, but did not copy nested annotation flows. The describer also collected annotation captions only from the top-level object collection.
Expected behavior
Annotations attached to activities inside loop bodies should remain attached after roundtrip, including annotations on nested branch statements.
Notes
The fix promotes nested loop annotation flows to the parent graph and recursively collects annotation captions from nested loop object collections.
Problem
Annotations attached to statements inside loop or while bodies can disappear after a microflow describe/exec roundtrip.
The builder copies sequence flows from nested loop builders back to the parent graph, but did not copy nested annotation flows. The describer also collected annotation captions only from the top-level object collection.
Expected behavior
Annotations attached to activities inside loop bodies should remain attached after roundtrip, including annotations on nested branch statements.
Notes
The fix promotes nested loop annotation flows to the parent graph and recursively collects annotation captions from nested loop object collections.