Is there a way to create or visualise temporal workflow definitions end to end via admin UI which it provides. I get the fact that it is code first workflow and not a UI based solution.
P.S. - Recently started exploring temporal and it is amazing !!!
Not exactly a problem but the point would be that if you have workflows spanning across multiple microservices and you want to visualise how your workflows are defined end to end rather than looking at the code, how would you do it ?
For me this seems to be the job of OpenTelemetry. E.g. Jaeger has a nice UI to visualize services interacting by what can be discovered from actual use of services during the lifetime of a request.
Most workflow complexity is not in the sequencing of actions but in arguments and state management. So code is a much better representation that any engineer would understand much faster.
If you need to show the current workflow progress during execution, you can use the query mechanism to return any information about the current state of a workflow and render it any way you want.
If you are using Temporal .NET SDK you can generate a DAG from a workflow definition:
The concept is simple: the worker registers a graph-generating interceptor and executes the workflow. The interceptor mocks all workflow activities by immediately returning the activity default result on the activity execution. It also records the activity “visit”. At the end of the workflow execution, it returns a complete dug captured as a Mermaid diagram.
The github project wiki also shows how to implement decisions DAG nodes as well as to make the Mermaid diagram interactive (e.g. show and update execution progress )