I want to bulk change running workflow instances and jump to a specific activity by using the Workflow Management APIs GotoActivity method. But before just ending the workflow instance, I want to make sure that the currently loaded instance is at the expected Activity and that activity is in Status=Active.
How/where do I get the currently active activity for the workflow instance and see its status is Active?
When I examine the Activity class there is no Status property.
I use something like this:
WorkflowManagementServer wfmServer = new WorkflowManagementServer();
Activities acts = wfmServer.GetProcInstActivities(12345);
Best regards, Peter