Hello,
we want to render the progress of Temporal workflow execution in our UI. For this we need to get number of already executed activities as well as the total number of activities.
The executed activities count can be retrieved from GetWorkflowExecutionHistoryResponse, this works ok.
My question - is there any way of getting the total count of activities in the workflow? We tried using DescribeWorkflowExecutionResponse.getPendingActivitiesCount, but this doesn’t give what we want.
I know my question doesn’t make sense in general, as workflows can contain branching and not all activities get executed. But the workflows we are considering are just a sequence of activities, no branching. Any ideas?
Thank you!