code: def do_action(self, action, objects):
          
          transitioned = []
          ActionHandlerPool.get_instance().queue_pool()
          for obj in objects:
              obj = api.get_object(obj)
              success, message = do_action_for(obj, action)
              if success:
                  transitioned.append(obj)
          ActionHandlerPool.get_instance().resume()
          return transitioned
docs: Performs the workflow transition passed in and returns the list of
          objects that have been successfully transitioned