on 08-16-2017 9:32 PM
Hi Team,
Need to create the Target node based on the input . If the Source node "Employee " occurance is 1 then in the target 3 nodes to be create.
If Source is having 2 "Employee" nodes then in the target 6nodes to be populate.
Source Target
Employee EmployeeDetails
EmployeeDetails
Employee Details
Thanks,
Ravi
Thanks Tanu,
The Lineitem structure is not repeating in the target structure, only the "item" name is repeating.
if the sequenence number is "1" in the source then it should be populate in the target structure 3 times as Lineitems.
Example:
Sequence Number 1 item
RetailSequenceNumber 1
item
RetailSequenceNumber 1
item
RetailSequenceNumber 1
Sequence Number 2 item
RetailSequenceNumber 2
item
RetailSequenceNumber 2
item
RetailSequenceNumber 2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanu,
I have applied the same logic but it was fail for multiple or Too many values in the Source.
Any thoughts...fail-for-multiplevalues.jpg
Hi Ravi,
Try below UDF . Execution type = all values of queue and input= var1
int a= var1.length;
int b=3*a;
for(int i=0;i<b;i++)
{
result.addValue("");
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.