Has anyone used a data adapter using the WorkflowStatus method type? It generates a field called TotalStepCount. The number of steps usually equates to the number of steps in the Workflow Name, but not always:
I understand that this is because a single step in the workflow name can actually represet multiple steps (which are included in the TotalStepCount), but I think this is context dependant - i.e. varies depeding on the other steps in the workflow. Does anybody have a way of seeing exactly which workflow(name) steps are being counted in the TotalStepCount field?
the total step count is the total of all steps for workflow tasks. One task can have 1 or more steps.
From the workflow info object you ca get Tasks property (List of TaskInfo) and then from the taskinfo object you can get all Steps from Steps property (List of StepInfo)
I think that's your starting point to build the list 🙂
Thanks for your reply. I managed to create the list by checking the step count after each stage of work flow creation. A bit slow and tedious, but gave me an answer.
Many thanks anyway.