How to match variable in the loop with decision?

Hello guys!    I have one trouble on variable matching in loop.  I have check the data put on Header data. if the decision is true.  however I also want to use   Header data when decision is false.  but, I can not match variables on mendix below…   do you have any idea for situation?     additionally I want to use this microflow for this process below.   
1 answers

Do the creation of NewTest_Data before the loop. And create it using activity ‘List operation’ Head.

Then go into the loop and you will be able to use the New_TestData.


Additionally, you can use activity List operation → Tail which will get you a list of all objects, except the first one. Looping over that list.


Your microflow will then look like this: