wf: +query and batchQuery bloks