Hi
I'm wondering if there is a suggested / best practice method of accessing K2's Process Instance vars in a strongly typed manner.
So, for example, what i've currently got in code is
K2.ProcessInstance.DataFields["dataFieldName"].Value
This allows me to get to the dataFieldName process instance variable
What i'd like to be able to write in code is the following instead
<SomeClass>.DataFieldName
where <SomeClass> provides strongly typed access to all of my process instance variables. This would make the code a lot clearer and therefore easier to maintain.
Are there any recommended ways to design such a class?
Thanks
Craig
Page 1 / 1
This is not available in K2.net 2003, however we are looking at this in the next generation K2.net.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.