viewing activities in a process

  • 16 November 2006
  • 1 reply
  • 1 view

Badge
Hi there,

I need/want to view all activities for a particular process in my c# app

at the moment, I create a process so that I can grab the datafields, but I don't know how to grab the activities.

I know of the viewProcessInstance method, but that requires me to start the process (to get the process ID), which I don't want to do, as everytime the app is accessed, it will need to create and start a new process.

(I could just create a dummy process i.e. ID of 1, and get it's details everytime, but that's not a cool way of doing it)

any ideas?

thanks

michal

1 reply

Badge +6
Are you referring to bsaically generating an inventory of Activities defined in the design a Process?

If so, I'd look to use the KO.dll (K2 Objects), and cycle thru the Process and Activities objects to get what you want.

Reply