Setblock triggered dispenser 1.12

This can't be done like you imagine it. Firstly, there is no "Triggered" tag.

You have to set the dispenser and then set something that activates it, like a redstone block. Afterwards you can remove it again.
If you don't know what's at that position before, you could for example clone it to height 255 before and then move it back.