Data variable of customized type

  • 3 October 2008
  • 3 replies
  • 0 views

Badge +4

Hi,


I have a requirement to pass the data from a asp.net page to K2 process in an object which is a class object.


Is there a way to specify a process data variable of the .Net class type?


I have added the class assembly as reference in the extender projects.


Regards,


Ritesh


3 replies

Badge +9

The K2 process data fields supports the standard .NET types.  So I guess if you want to pass in class object data, you probably have to serialize/deserialize it to a binary string using your own code.

Badge +4

Hi johnny,


i worked on ur suggestion and it worked.


i was able to serialize the value to a process data variable of type string and then deserialize the value in the k2 process to the class back.


thanks for your help.


regards,


ritesh

Badge +4

Hi johnny,


i worked on ur suggestion and it worked.


i was able to serialize the value to a process data variable of type string and then deserialize the value in the k2 process to the class back.


thanks for your help.


regards,


ritesh

Reply