Hi all,
I have a Model Node Structure
Bapi_Project_GetInfo (Model node)
|
-->Output_Project_GetInfo (Model node)
--->E_Activity_Table_Project_GetInfo (Model node)
|
-
> Network (Model Attribute)
-
> Short text (Model Attribute)
My Value node Structure
Project_GetInfo (Value node)
|
-->Output_Project_GetInfo_VN (Value node)
--->E_Activity_Table_Project_GetInfo_VN (Value node)
|
-
> Network (Value Attribute)
-
> Short Text (Value Attribute)
I want to copy the model attribute to Value attribute.
See my code below..
IWDNodeElement elemSrc, elemDest;
int sizeAccAss = wdContext.nodeE_Activity_Table_Project_GetInfo().size();
for (int i = 0; i < sizeAccAss; i++) {
wdContext
.nodeE_Activity_Table_Project_GetInfo().setLeadSelection(i);
elemSrc = wdContext.currentE_Activity_Table_Project_GetInfoElement();
elemDest = wdContext.createE_Activity_Table_Project_GetInfo_VNElement();
wdContext.nodeE_Activity_Table_Project_GetInfo_VN().addElement(elemDest);
WDCopyService.copyCorresponding(elemSrc, elemDest);
}
This is giving the exception as
Node(NetworkSchedulingDAMR3Comp.Project_GetInfo.Output_Project_GetInfo_VN.E_Activity_Table_Project_GetInfo_VN): cannot bind or add elements because the node has no valid parent
How to debug this..any sample code please.
Thankyou all,
Karthick.K.E