Error -50001 Attribute specified in action not found (Action 'SET_ATTR' document name 'name of document' attribute name 'Attribute name')
If this error appears as when user tries to change state in WRE, there is a possibility that one of the attributes contain an unsupported sql symbol(',",%%)
Please go trough all variables and values that come from lookup tables and make sure there are none of those unsupported characters there.