When creating a microflow with a loop with a call microflow inside, e.g.
create or modify microflow X.doY ( $ContractList: List of X.Contract ) begin loop $IteratorContract in $ContractList begin $A = call microflow X.Z(Contract = $IteratorContract); end loop; end; /
This will result in a valid check and execution, but Studio Pro will provide a (cryptic) error when opening the project, requiring a git revert before you can continue working.
Tested with Mx 11.8 and 11.12
Mxcli 0.16
Valid syntax is $A = call microflow X.Z(Contract = $IteratorContract) on error rollback;
I suggest either the default (when omitted) is 'on error rollback', or the check command gives a syntax error.
This only holds for microflow calls inside loops, not outside loops.
Maybe related to #698
When creating a microflow with a loop with a call microflow inside, e.g.
create or modify microflow X.doY ( $ContractList: List of X.Contract ) begin loop $IteratorContract in $ContractList begin $A = call microflow X.Z(Contract = $IteratorContract); end loop; end; /This will result in a valid check and execution, but Studio Pro will provide a (cryptic) error when opening the project, requiring a git revert before you can continue working.
Tested with Mx 11.8 and 11.12
Mxcli 0.16
Valid syntax is $A = call microflow X.Z(Contract = $IteratorContract) on error rollback;
I suggest either the default (when omitted) is 'on error rollback', or the check command gives a syntax error.
This only holds for microflow calls inside loops, not outside loops.
Maybe related to #698