Value Filldown FIELD1 (\S+)
Value Filldown FIELD2 (\S+)
Value Filldown FIELD3 (\S+)
Value Required FIELD4 (\S+)
Start
^\s*${FIELD1}\s*$$
^\s*Field2\s*:\s*${FIELD2}\s*
^\s*Field3\s*:\s*${FIELD3}\s*
^\s*Field4:\s*${FIELD4}\s* -> Record
This should give me an output where the Field3 is only getting populated for the field4 rows that it is applicable for but it is populating for even the field4 rows that it's not a part of.
I have an input textfile that looks like this
and a textfsm template that looks like this
This should give me an output where the Field3 is only getting populated for the field4 rows that it is applicable for but it is populating for even the field4 rows that it's not a part of.
The ideal output should look like this
but I'm getting this output below
what is the ideal fix for this issue ?