I tried to input a name in the “text” of “Output” in the “Properties” of an activity, but it keeps saying that the name that I inputted is not declared. This makes my workflow doesn’t work being it has validation errors. It said it is not declared, and it may be inaccessible due to its protection level.
Hi,
We can initialize a variable by many ways like in variables panel,assign activity, properties panel. Its better to go for variables panel if you know data type. while if you want to do in properties panel press “ctrl” and “k” and enter the variable name. It will consider it as generic value, again if you need to update its datatype and scope you can go to variable panel.
First thing is that, please check whether you have declared the PN as variable or not. Then please check the scope of declared PN variable. I would like to suggest you that make the variable as Global means, the variable should be accessable throughout your workflow.