How to get count of activities used inside workflow

Hello,

Is there have any option to get count of activities used inside workflow

Thanks,
Vikram Mahit

Refer this post:
Activities count

Hello Bharat,

Thanks for your suggestion.

is there any activity or custom code to get exact number of activity count from workflow.

Thanks,
Vikram Mahit

One way is to read to your Xaml file using “Read Text File” Activity and check for string “IdRef” in the output.

(Split(strOutput,"IdRef").Length-1).ToString

Parent activity will have an IdRef, to exclude that make it -2 in above piece of code.

1 Like

Thanks vvaidya, Working Fine