This is the Error I can´t get rid of:
Error ERROR Validation Error BC30451: ‘UserName’ is not declared. It may be inaccessible due to its protection level. Variable ‘UserName’ is missing. Please use Data Manager to recreate it. Main.xaml
This is the Error I can´t get rid of:
Error ERROR Validation Error BC30451: ‘UserName’ is not declared. It may be inaccessible due to its protection level. Variable ‘UserName’ is missing. Please use Data Manager to recreate it. Main.xaml
You are getting this error because the variable is either not declared or its scope is limited to a sequence.
Steps to fix:
1. If the variable is not created, create it from Data Manager or by pressing Ctrl + K from the Properties panel.
2. Open the Variables Panel and check the Scope of the variable.
3. Change the variable scope to Main (or the workflow level where you want to access it).
Hi @gudrunha24
Please run the process in debug mode and then see which activity/place it is throwing this error at.
Look for variables you have defined in that scope.
Find where you are referencing this username variable.
And declare it as @manasrlenka25 shared.
It should work.
Hi @gudrunha24
Pls profile the main project scope of that variable. If not created the variable so pls create a variable first.
Thanks