Skip to content

roundtrip for microflow with loops yields changes in positioning #790

Description

@mkrouwel

Mxcli v0.16
Mx 11.8.0

Issue: roundtrip for microflow creates different result (with same source, most of the time). Roundtrip for microflows without loops do not have this issuee

Original microflow:

Image

Original source:
create or modify microflow ExampleModule.looped ( $OrderList: List of SourceExamplesModule.Order ) returns List of SourceExamplesModule.OrderLine as $OrderLineList folder 'Input' begin @position(108, 200) $OrderLinesToReturn = create list of ExampleModule.OrderLine; @position(458, 200) @anchor(from: right, to: left) loop $IteratorOrder in $OrderList begin @position(181, 80) retrieve $OrderLines from ExampleModule.OrderLine where SourceExamplesModule.OrderLine_Order = $IteratorOrder; @position(359, 80) add $OrderLines to $OrderLinesToReturn; end loop; @position(770, 200) return $OrderLinesToReturn; end; /

After executing mxcli -c with the statement above, the microflow is changed, source is unchanged, but the result looks different:

Image

In some cases I do see a change in @position tags, but it is hard to reproduce. In all cases, the visualization is poor.

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