Dears,
I have great problem with two grid widgets in one process step. They are defined by the following way:
A) Data fields:
<xpdl:DataField Id="dataManage" IsArray="false">
<xpdl:DataType>
<xpdl:BasicType Type="STRING"/>
</xpdl:DataType>
</xpdl:DataField>
<xpdl:DataField Id="dataFromGrid" IsArray="false">
<xpdl:DataType>
<xpdl:BasicType Type="STRING"/>
</xpdl:DataType>
</xpdl:DataField>
B) Widgets:
<xpdl:ExtendedAttribute Name="grid" Value="ClassName="UploadAccessory" ButtonLabel="Upload Accessories" CardSeparator=cardSeparator AttributeSeparator=attributeSeparator KeyValueSeparator=keyvalSeparator Presets = dataFromGrid dataFromGrid"/>
<xpdl:ExtendedAttribute Name="grid" Value="ClassName="ManageAccessory" ButtonLabel="Dispatch Accessories" CardSeparator=cardSeparator AttributeSeparator=attributeSeparator KeyValueSeparator=keyvalSeparator Presets = dataManage dataManage"/>
When I edit both the grid data and input completely different values into each other in the workflow step the result id that the value in both the data fields is the same - it corresponds to the second grid widget data:
This is the next task script:
System.out.println("Data upload: " + dataFromGrid);
System.out.println("Data manage: " + dataManage);
And the result in the Java concsole is:
Data upload: Quantity<-KS->13<-AS->AccessoryModel<-KS->103491262<-AS-><-CS->
Data manage: Quantity<-KS->13<-AS->AccessoryModel<-KS->103491262<-AS-><-CS->
So, I am convinced there is something wrong - the first data filed value is overwritten by the second data field value.
Thanks for solving in advance. The issue was performed on the latest CMDBuild version, i.e. 2.4.2.
Best regards,
Jiří