Hi Guys,
I am trying to load a list of all the activites on a list/dropdown.
Is there a way of getting the procID.
Thank you.
Hi Guys,
I am trying to load a list of all the activites on a list/dropdown.
Is there a way of getting the procID.
Thank you.
well, in the workflow context browser, you can drag the ID field under Process Instance node. If you know the task serial numer, the procinst id is the first part before the underscore. eg: 432_12 - in this case, 432 is the procinstid
Ok cool Thanks Sujeeth,
But now, how do I use that to get all activities for that process, using K2 objects ofcourse.
Do you perhaps have any sample code that you can show me?
Thanks man.
something like this:
foreach (Activity a in theEvent.Activity.Process.Activities)
{
cmbActivity.Items.Add(a.Name);
}
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.