Hi All,
Can anyone please explain what is "The Activities object " as defined in the namespace K2Mng.
I have a process which has one activity and one client event. I exported the process and trigerred it from ASP Windows aplln.
It created a process instance which is in Active state and one worklist. Now I am trying to retrieve the activities in the process.
The following is the code snippet :
Activities
acts = Kmg.GetProcInstActivities(kpr.ProcID);textBox17.Text = acts.Count.ToString();
Here Kmg is an object of K2Manager class . kpr refers to a particular version . Here it refers to the only version because I have only one version. acts.count is returning 0 . I think it should return 1 because the process has one activity.
Maybe I am wrong.
Please explain ASAP.
Thanks in advance.