ListWorkflow response does not include Priority info

WorkflowExecutionInfo.Priority is not set on ListWorkflow

It is available within a activity context via activity.GetInfo and workflow context however while listing this field is always nil. I checked Temporal UI and it uses history information to render that. Is there a plan to populate this field in a later sdk version?

Hi,

ListWorkflow executions queries the visibility store, and some fields are not carried over when the execution info is stored. The same happen with the field ParentExecution and others. See this ticket ParentExecution not set in WorkflowExecutionInfo · Issue #1119 · temporalio/temporal · GitHub

You can use DescribeWorkflowExecution API to get the Priority

Antonio

Sure, thanks for confirming that it is expected. I will use a search attribute for my list use case. It would be really nice to add this to list view though