Ive done this many times, but for some reason this is not working for me and I have no clue why.
The execute statement looks like
qt.execute(query, function(results) {
console.log(results.features[0]);
//symbol not used(will be used once polygon is figured out
var redSymbol1 = new SimpleFillSymbol(
SimpleFillSymbol.STYLE_SOLID,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255, 0, 0]), 3),
new Color([255, 0, 0, 0.4])
);
var graphic1 = new Graphic(results.features[0].geometry, redSymbol1);
//Add graphic to the map graphics layer.
map.graphics.add(graphic1);
});
the console.log mentioned above shows this has an output 