diagnostics workflow