diff --git a/entity/Notification_entity/recordcontainers/db/conditionProcess.js b/entity/Notification_entity/recordcontainers/db/conditionProcess.js
index 60ee39a715604b48226e0a6cd63a52446216f471..1f8db6525a00e778a84426106d10021425b5a499 100644
--- a/entity/Notification_entity/recordcontainers/db/conditionProcess.js
+++ b/entity/Notification_entity/recordcontainers/db/conditionProcess.js
@@ -7,7 +7,6 @@ import("system.tools");
 var user = tools.getCurrentUser();
 var userid = user["name"];
 
-var cond = SqlCondition.begin()
-                    .andPrepareIfSet("ASYS_NOTIFICATIONS.USERID", userid)
+var cond = newWhereIfSet("ASYS_NOTIFICATIONS.USERID", userid)
 
-result.object(cond.translate());
\ No newline at end of file
+result.string(cond.toString());
\ No newline at end of file