Yearly Report, Selecting year in CreateYearlyReport not working


I’m currently having problem with the System1_CreateYearlyReport, in the performer part of Assignment 2, Advanced RPA. I’m trying to test the workflow by setting the default values of the arguments. But I get this selector problem:


The selector looks just like the walkthrough guide:

<html title='ACME System 1 - Reports - Download Monthly Report' />
<webctrl aaname='&quot;+in_Year+&quot;' parentid='searchForm' tag='A' />

If I replace value in aaname with hardcoded “2018”, it works just fine.

Not sure what I’m missing here, any insight much appreciated.

System1_CreateYearlyReport.xaml (24.2 KB)

"<html title='ACME System 1 - Reports - Download Monthly Report' /><webctrl aaname='" + in_Year + "' parentid='searchForm' tag='A' />"

Please enter as string in the selector. The entire string should be in a single line.

Selector should not contain &quot;



Thank you.

So, when I type in the string as one line, in the expression editor, studio translates my quotation marks to “quote;”.

When I type the string, as one line, directly into studio’s property field, It works as it should. No translation of " to quote;

This is odd behavior, is it not ?

Yes. It automatically changes when we enter into the expression editor. That was a strange behaviour.

That’s why we need to enter as string in the properties.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.