def proceed(workitem)

      r = remove_workitem('proceed', workitem)

      return proceed(workitem) if r != nil

      workitem.h.delete('_rev')

      reply_to_engine(workitem)
    end
def proceed(workitem)

      r = remove_workitem('proceed', workitem)

      return proceed(workitem) if r != nil

      workitem.h.delete('_rev')

      reply_to_engine(workitem)
    end
Removes the workitem from the storage and replies to the engine.