def by_wfid(wfid, opts={})

      if @context.storage.respond_to?(:by_wfid)
        return @context.storage.by_wfid('workitems', wfid, opts)
      end

      wis(@context.storage.get_many('workitems', wfid, opts))
    end
def by_wfid(wfid, opts={})

      if @context.storage.respond_to?(:by_wfid)
        return @context.storage.by_wfid('workitems', wfid, opts)
      end

      wis(@context.storage.get_many('workitems', wfid, opts))
    end
Return all workitems for the specified wfid