Open mfateev opened 6 years ago
Another option is to show results of a DescribeWorkflowExecution call. From its result determine what to show in the column. It might require some server side changes if some info is missing.
You're talking about the Workflow list screen currently, correct? The status of the workflows is already an input parameter. Did you mean some other piece of information per workflow?
The workflows list is 100 per page, so firing 100 ajax request that most browsers process 6 at a time per domain, it's not terribly fast, but it can be asynchronous.
With the new memo feature (https://github.com/uber/cadence/pull/1663) we don't need to execute a query per workflow in the list. This issue should be repurposed to show the memos in the list.
It is very useful to be able to see a list of workflows with the correspondent statuses. It can be done by emitting a query to a workflow execution for each member of the list. As listing is paginated it shouldn't increase latency too much. If it does then the status should be loaded asynchronously after the list is already rendered.