When I run the main I get the error: Error ERROR Validation Error Compiler error(s) encountered processing expression ""First Value is: " & First_Input_Value.ToString & Environment.NewLine & “Second Value is: " & Second_Input_Value.ToString”.
‘Second_Input_Value’ is not declared. It may be inaccessible due to its protection level.
‘First_Input_Value’ is not declared. It may be inaccessible due to its protection level. Main.xaml
Could you check if the variables are declared in the variables Panel ? Also, Check the Scope of the variable, if it is needed in other Scopes then you would require to change the Scope of the variables accordingly.
Variable Declaration : Make sure you have declared these variables before trying to use them in your workflow.
Variable Scope: Ensure that the variables are declared in a scope that is accessible where you’re trying to use them. Variable scope can be restricted to specific activities or sequences, so ensure that the variables are declared at a scope level where they are accessible throughout your workflow.
Check Variable Names: Make sure that you are using the correct variable names, including capitalization. Variable names in UiPath are case-sensitive.