PDB-1633 - Cannot create a dashboard prompt

PDB-1633 - Cannot create a dashboard prompt

also formatted this file to align with checkstyle