Hello, I have a requirement to assign a case to a manager whenever all the
dependent activities are closed.

I tried creating a workflow with a wait condition on "Workflow-Activity
Count Including Workflow == 0" with the following assumptions:

- the value "Activity Count Including Workflow" will contain the number of
*open* activities, and it will decrease whenever activities are closed.

- The wait condition will exit when this number reaches zero.

I have had no success with any of these assumptions. The workflow gets stuck
in the wait condition, and it never exits, even if I *delete* the activities
rather than closing them.

Has anyone had success with this "Activity Count Including Workflow" counter
at all? And if not, how can I implement my requirement?

Thank you in advance