Topics Map > Computer Operations Engineering > Application Administration
AppWorx - Using Subvar in a Condition Statement
A developer is trying to use a substitution variable in a condition statement to check for the existence of a file, and the condition is not working. The subvar represents the first few levels of the path name of the file.
If you're trying to use a substitution variable in a condition statement and the condition is not working, please ensure you're using curly brackets {} around the subvar in the
condition statement. Be sure you don't repeat the final slash of the
path name both inside and outside the subvar. It would be best to have that
final slash (final meaning at the end of the subvar value) outside of the
subvar.