Currently, Im validating error messages in a modal but I have many strings that I assigned in a method,
Is there a way that these strings can be store in another file so we can call it and not assigned on the method itself?
Also I don’t want to store it under Profiles as I have many modules
In this screenshot, you have 23 variables declared. It seems you just want to write these 23 values in another text file, not in some.groovy file. Is it what you want? — I guess, it is no better than the current code, is it?
I suppose you haven’t described what you really want to do.
Without understanding WHY, it is not a good idea to start discussing HOW.
for the variables that I assigned I want to reuse it to other method so i don’t need to type it again in another class 1by1 thats the purpose of this post and sorry that I did not mention it.