Db.unprocesseddocument

Is db.unprocesseddocument work in embedded view? if not what can be the alternate?

Subject: db.unprocesseddocument

It works fine (the action has to be on the view itself, not the form of course)

dan