Skip to content

Loop-body annotations can be lost during microflow describe/exec #330

@hjotha

Description

@hjotha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions