Generate Yearly Reports Dispatcher Compilation Error CS0029

Hey,

after 3 weeks of debugging, going through multiple comparisons on github and other platforms and then finally creating the automation again from scratch according to the official UiPath walkthrough, I’m getting the following compilation error after finishing everything:

The assembly compilation returned the following errors:

  • (1,3286): error CS0029: Cannot implicitly convert type ‘System.Activities.InArgument’ to ‘System.Activities.OutArgument’

I’ve got no clue where among the workflows this error occurs. Everything is exactly developed as shown in the official exercise walkthrough. Could you please explain where to find the workflow the error occurs? And moreover show me how to solve this issue and explain why the official walkthrough might be wrong?

Thank you.

Can you explain the scenario like where you’re getting this error and which tool you’re using like re-framework or normal workflow and if possible provide the screenshots too.

Thanks

I think I figured out which workflow causes the error after debugging every file separately. I’ve attached it here. The task is from UiPath’s academy Professional developer learning path. For some reason, validation of the project causes no errors but executing/debugging this file does.

GetTransactionData.xaml (18.5 KB)

I think the error is here

Like you’re saving in argument into out argument but that’ll not work because the in direction used to give input and out argument is used to give output so try using another logic as it is the task of Academy.

Cheers

". Add an If activity and set the Condition to PageExists.
a. In the Then block, add an Assign Activity:
i.
To: out_TransactionItem.
ii.
Value: in_TransactionNumber. "

UiPath’S official walkthrough says to do it tho. why would they say sth wrong?
Generate Yearly Report - Complete Exercise Walkthrough.pdf (423.7 KB)

@Manuel_Henkes

just to make sure can you recreate the arguments in the specified xaml and check if that resolves..recreating integer type argument should be enough as the errors states it is for int

make sure you remove the activities which use the argument and re add

Hopefully this should fix the issue

there is nothign wrong with assigning as the error suggests looks like a xaml issue

cheers

thank you this solved the problem. omg can’t believe it took three weeks of debugging

1 Like

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