Skip to Content
0
Former Member
Apr 01, 2011 at 09:22 AM

Class instance behavior in WF-container structures.

27 Views

LS,

I supply my workflow with a structure filled with class-instances, those are needed to keep track on the context. Now i notice that those instance are lost during (de)serialization from and to the container.

My work-around would be to do instantiation myself explicitely calling the constructor supplying the key and the classtype name.

That workaround is so hatefull, because we know that workflow runtime is perfectly capable of managing classes itself, hence the name managed object and explicit IF_WORKFLOW interface.

<technical>

Does anyone recognize this behavior?

Doe anyone have invented a more 'nice' workaround?

<contextual>

Is there a way of (de)serializing attributes part of a class-instance?

Any help is welcome,

Thanks in Advance,

Stef Snijders