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:
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:
In some cases I do see a change in @position tags, but it is hard to reproduce. In all cases, the visualization is poor.
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:
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:
In some cases I do see a change in @position tags, but it is hard to reproduce. In all cases, the visualization is poor.