Hi All! I have one problem maybe you help me ...
So i have next source code:
foreach (SourceCode.Workflow.Management.ProcessInstance instance in server.GetProcessInstancesProcSet(procSetId, string.Empty, string.Empty, string.Empty, string.Empty))
{
instances.Add(instance);
}
I want to get all active instance of some workflow. I need this because i want to know if workflow already finished or not, if workflow not finished i write this to my users. This code work normal but it work only for user with admin permission and my users don't have this permission. Maybe you know another way how to know information about workflow without admin permission?