Write to Text File expands embedded variables

Hi,

We're using TFS Query Work Items and Write to Text File actions to create a HTML report.

The HTML output from the Query Work Items action is written to our BUILD_TFS_QUERY_RESULTS variable. If a TFS work item title contains a percentage character, i.e. "%*error%", then Write to Text File expands not only BUILD_TFS_QUERY_RESULTS, but what it believes are FB variables in the variable from our query.

I have considered changing my SELECT query to replace "%" with "" but that's not ideal nor is asking our testers/developers not to use the % character.

Is there a way to prevent Write to Text File recursively expanding variables?

Many thanks,

Heath.

 

Hi Heath

This article should help : https://www.finalbuilder.com/articles.aspx?mid=370&ctl=ArticleView&articleId=10

This info is also in the help file

Hi Vincent,

That worked perfectly. 

Thanks,

Heath.

 

The link to the solution doesn’t work anymore.
Can someone explain how to solve this problem?

thanks,
Tobi

Hmmm… not sure why that doesn’t work, but this should : https://www.finalbuilder.com/articles.aspx?ID=10