Index: /WAeUP_SRP/trunk/WAeUPTool.py
===================================================================
--- /WAeUP_SRP/trunk/WAeUPTool.py	(revision 2051)
+++ /WAeUP_SRP/trunk/WAeUPTool.py	(revision 2052)
@@ -901,6 +901,6 @@
 
         # included only to change wf state from admitted to returning
-        if res[0].review_state != 'admitted':
-            return '%s' % res[0].id ,"student is not in state admitted"
+        if res[0].review_state not in ('admitted','objection_raised'):
+            return '%s' % res[0].id ,"student is not in state admitted or objection_raised"
         # end inclusion
 
@@ -938,5 +938,5 @@
 
         # included only to change wf state from admitted to returning
-            if res[0].review_state == 'admitted':
+            if res[0].review_state in ('admitted','objection_raised'):
                 new_state = f2t[pt]['wf_transition_return']
                 sub_obj = getattr(student_obj,f2t[pt]['id'],None)
@@ -947,5 +947,5 @@
                         #logger.info('%s, wf transition %s of %s failed' % (sid,new_state,sub_obj.id))
                         pass
-        if res[0].review_state == 'admitted':
+        if res[0].review_state in ('admitted','objection_raised'):
             wfaction = 'return'
             try:
