Comparing two string values
Hello,
I am trying to compare two string values and if true exucute the automation for that report. The problem I am having is that it is always going false when I know the two strings match. I am taking the two global string variables and concatinating them together and then trying to compare that value to a static string variable using a string expression and then passing the results to an equals expression. I have also tried using a boolean expressing and setting the identifiers to a string. Any suggestions on what I am doing wrong?
I am also open to doing this in C# script but I am not sure how to execute an automation file from c#.
I have 40 different report types that I need to compare if the variable from the excel report matches the static report type I need it to then execute the automation script associated to that report type.
I have been tring to follow this thread and I can not seem to get the same out put.
https://collaborate.pega.com/question/need-compare-two-string-values
https://collaborate.pega.com/question/pega-robotics-studio-8-comparing-two-variables