Forum Discussion

kimmatsumoto's avatar
kimmatsumoto
Contributor
6 years ago
Solved

logging results of a persistent variable

Hello,   When i executed this: log.checkpoint('This is the value displayed in the Sabre Profile ID field: '+ProjectSuite.Variables.CBOSabreID0); I get the error:  Could not convert variant of...
  • tristaanogre's avatar
    6 years ago

    It's probably not liking that you're trying to append an integer to a string.

    Try the following:

     

    log.checkpoint('This is the value displayed in the Sabre Profile ID field: '+aqConvert.VarToStr(ProjectSuite.Variables.CBOSabreID0));

    This will do an explicity conversion to a string before the append.