Hi all,
I've created a web dynpro application, with context "DO_Dpto_Tecnico", it cardinality is 0..1 and within the same node "Comentarios" with cardinality 0...n
In BPM Diagram Editor in NWDS, i create an activity, create a task to this web dynpro component.
When i get the context of this web dynpro, and and mapping with TaskOutput of Acticity, no errors occur in the link, everything is correct.
The attributes of the node "Do_Dpto_Tecnico" work fine (0 ... 1) but the attributes of node "Comments" (0...n) contains nothing, I lose the values.
The xsd is as follows:
<complexType name="Dpto_Tecnico">
<sequence>
<element name="valorar" type="boolean"></element>
<element name="ceco" type="string"></element>
<element name="importe" type="double"></element>
<element name="comentarioActual" type="string"></element>
<element name="Comentarios" type="tns:Comentarios" minOccurs="0" maxOccurs="unbounded"></element>
<element name="idPosicion" type="string"></element>
</sequence>
</complexType>
<element name="Dpto_TecnicoElement" type="tns:Dpto_Tecnico"></element>
<complexType name="Comentarios">
<sequence>
<element name="comentario" type="string"></element>
</sequence>
</complexType>
Should we change the assigment node 0 ... n? Now it is in the merge option, but consider Append, Merge and Set.
Best Regards,
Luis.