# fixes https://dev.cfengine.com/issues/2504 using variables in string
# contexts when a promise has a previous if *with a FnCall*

body common control
{
      inputs => { "../../default.cf.sub" };
      bundlesequence  => { default("$(this.promise_filename)") };
      version => "1.0";
}

bundle agent test
{
}

bundle agent check
{
  reports:
    "any"::
      "$(this.promise_filename) Pass"
      if => and("any");
}
