Zach Taylor (ZachT124)
Data Scientist
ZachT124 Member since 2021 16 posts
Posted: March 22, 2021
Last activity: March 25, 2021
Posted: 22 Mar 2021 10:12 EDT
Last activity: 25 Mar 2021 10:35 EDT

Comparing two string values


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.

Pega Robotic Process Automation 19.1 Robotic Process Automation Financial Services Data Scientist