Message Text
Assignment policy is not a query policy, on database: variable1
Cause
The assignment policy on the database is not a query policy.
Response
Check your database configuration and make sure it uses the query policy before calling this function.