exactly, but that was not clear until I hit this. I assumed "return" meant stop processing the rest of the line. Sort of like this in Javascript, I just assumed returned meant to return, not continue...

// a = b && c = d
function foo(a, b, c, d) {
    let res = a === b ? 1 : 0; // a = b
    if (res === 0) { // left side of &&
        return res // return left side
    }
    res = c // res && c
    res = res === d ? 1 : 0 // res = d
    return res
}

Given the length of the OBX segment, I could not get the OBX-6 from source and set it in the OBX-5.3 & 5.4 as needed. Once I went down the path of reading the OBX entire segment from the stream, it just made sense to continue using a stream and code block for the entire OBX segment.

I also tried to do a foreach loop in the GUI fashion, and then use the `k1` in the code block, but that didn't seem to work, probably just my lack of experience, so I found something that worked and just utilized it instead.

Thank you for the feedback though ;)

we ended up just hard coding the values themselves, In some cases we mapped addresses on the local servers host file and then can use the domain name instead of the IP address, as we don't get to control DNS for the domain from our team. Started spending more time trying to solve the issue of creating and utilizing a global variable map instead of just using what works and moving on.

@Timo Lindenschmid Thank you for that, so I'm working with two guys already experienced and they helped to create the global config variables. And it works in terminal, but not in a production service/process/operations settings. Here is what we are trying to do:

But no matter what kind of formatting we try to put in this "IP Address" field, we cannot get it to parse and get the mapped value. Any ideas?

ERROR <Ens>ErrOutConnectExpired: TCP Connect timeout period (5) expired for ^epicTST:5117