So you mean I write the variables in the UTILITY
as written in the request where the config ended with SUCCESS STATUS
right? using IF STATEMENT
Yep that’s exactly what I meant
1 Like
Is it impossible using the variables inside the IF STATEMENT
?
Like this example:
IF STRINGKEY @data.ADDRESS DoesNotContain "<PREHOST>://<MYVARIABLE>/"
data.STATUS = "FAIL";
return;
END
I tried it and didn’t work
You need to put $ before " if you want to use interpolated strings in LoliCode.
IF STRINGKEY @data.ADDRESS DoesNotContain $"<PREHOST>://<MYVARIABLE>/"
data.STATUS = "FAIL";
return;
END
1 Like
Thank you so much Ruri.