Hello I got a problem while importing an xml file. Somehow I can't find anyone having the same problem on google ._.
So my structure is following
I do processing in the M - Import::OnAfterAssignVariable()
Now let's assume DATA1 is always filled and DATA2 like every third loop only. So it's filled in M1 and M4, but empty in M2 and M3.
My problem now is, that DATA2 gets a value in M1 and now has the same value in M2 and M3.
How can I prevent that without making a CLEAR for every variable that could be empty?
The element doesn't come in M2 and M3 - so it doesn't clear itself I think?
DATA1 (fills with 1)
DATA2 (fills with XYZ)
DATA 1 (fills with 2)
DATA 2 is not provided, so it keeps the value of M1 DATA2 (XYZ)
DATA 1 (fills with 3)
DATA 2 (fills with ASD)
Is there any workaround?
It is an element in the XMLport structure, not a global defined by myself. It fills itself by importing the xml file.