First off, thanks for this utility, it saved a bunch of time and effort with tedious yaml conversions!
I noticed for a subset of mistral workflows that the jinja expression from mistral on-success clause is resulting in access to an undefined variable when converted into an orquesta when clause.
Example:
A mistral workflow with the following structure, where the initial task calls an action, and the on-success clause ensures that the published variable (in this case operations dict) is not null (len = 0).
Using the workflow conversion, this is translated to the following form. This is problematic because in orquesta, the when clause seems to occur before the publish has made the variables available to the context. Specifically, ctx().operations is accessed in the when clause, before it's defined.
Also, another minor thing is that our mistral workflows had name and description at the top, which I had to comment out for the conversion utility to accept them.
First off, thanks for this utility, it saved a bunch of time and effort with tedious yaml conversions!
I noticed for a subset of mistral workflows that the jinja expression from mistral
on-success
clause is resulting in access to an undefined variable when converted into an orquestawhen
clause.Example:
A mistral workflow with the following structure, where the initial task calls an action, and the on-success clause ensures that the published variable (in this case
operations
dict) is not null (len = 0).Using the workflow conversion, this is translated to the following form. This is problematic because in orquesta, the
when
clause seems to occur before thepublish
has made the variables available to the context. Specifically,ctx().operations
is accessed in thewhen
clause, before it's defined.Also, another minor thing is that our mistral workflows had
name
anddescription
at the top, which I had to comment out for the conversion utility to accept them.Again, thanks!