Visual representation of workflows #162
-
Are there plans for a visual representation of workflows? A workflow would be code-first as it is currently, but if infinitic could generate a visual state machine for each execution it would greatly help in understanding each workflow, what state the workflow was in at each step, which would help debug as well. I'm looking for an orchestration framework to use for my company's ERP that we're building from the ground up. I'm currently considering AWS Step Functions, Temporal, and Infinitic, but I am quite set on Infinitic because :
The one advantage that Step Functions has and draws a lot of people is its visual representation of workflows. While Step Functions' design choice is to orchestrate flows entirely in a visual manner, I want to develop workflows in code but have a visual representation of workflows that I could use to debug and look at without having to refer back to source code. Just thinking about it I think it would be a pretty colossal task, but I'm wondering if Infinitic has any plans for this kind of feature in the far future. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry for the delay in responding - I missed your question - not sure why. It is relatively straightforward:
But providing a visual representation of a workflow from its code would be rather complex. It would be very similar to taking an arbitrary code and visually representing it. A specialized AST parser could do that - but it is a complex subject, and the output may not be as good as expected. Luckily, workflow code is usually simple enough to be self-explaining. If you need a visual correspondence, I would suggest working on the 1) above - e.g., Infinitic could be used to operate workflows defined in the same DSL as Step Functions (which is a subset of what Infinitic is capable of) |
Beta Was this translation helpful? Give feedback.
Sorry for the delay in responding - I missed your question - not sure why.
It is relatively straightforward:
But providing a visual representation of a workflow from its code would be rather complex. It would be very similar to taking an arbitrary code and visually representing it. A specialized AST parser could do that - but it is a complex subject, and the output may not be as good as expected.
Luckily, workflow code is usually simple enough to be self-explaining. If you need a visual correspondence, I would su…