Save a query
To save a query, follow these steps:- Open Prism.
- Write the query, choose a template, or ask the SQL assistant to create it.
- Click Run and check that the result is correct.
- Click the title and enter a clear name.
- Click Save.
- Weekly arrears ageing by Building
- Active Tenancies ending in 90 days
- Previous month Payment value
- Open maintenance issues by priority
You must name the query before you can save it.
Run history
Run history shows your latest 20 runs from the last 365 days. Each item shows whether it succeeded, failed, or is still running. Click a successful run to load its SQL and result. If it belonged to a saved query, Prism also selects that saved query. Clicking a failed run reloads its SQL so you can fix and run it again, but it does not restore a result. Run history is useful when you:- Closed Prism before saving a useful query.
- Want to compare the SQL from a previous run.
- Need to return to a failed query and use Fix with assistant.
Schedule a query
A schedule runs a saved query at set times and emails a CSV of the result. Schedules use UTC, so allow for British Summer Time or another local time zone when choosing the hour. Standard allows 5 active schedules. Premium has no cap. To create a schedule, follow these steps:- Run the query and check the result contains only the information recipients should receive.
- Save the query.
- Click Schedule.
- Enter a Cron expression, such as
0 8 * * 1for every Monday at 08:00 UTC. - Enter Recipients (comma separated).
- Click Create schedule.
- Check the new schedule under Existing or in the Scheduled list.
Understand the schedule expression
A cron expression is a short way to describe a repeating schedule. Prism uses five parts:0 for Sunday through 6 for Saturday.
Common schedules:
A schedule is not automatically adjusted for daylight saving time. For example,
0 8 * * 1 is 08:00 in the UK during
winter and 09:00 during British Summer Time.Change who receives a scheduled report
Prism currently lets you pause or resume an existing schedule. To change its times or recipients:- Open the saved query.
- Click Schedule.
- Pause the old schedule.
- Enter the new expression and recipient list.
- Click Create schedule.
Before you schedule
- Use a relative period such as “previous complete month” if the report should move forward automatically.
- Avoid a fixed date unless you intentionally want the same period every time.
- Give the query a name that will make sense in an email.
- Keep recipient addresses current.
- Include only the personal and financial information each recipient needs.
- Check Data as of so you understand when the snapshot refreshes relative to the schedule.
- Run the query manually after changing its SQL.