Schedule a pinboard job
You can schedule a pinboard job for any Pinboard by using the Add a schedule prompt page.
You can add multiple schedules with different configurations for a single Pinboard. However, each job is limited to one Pinboard schedule. To add a schedule, you must either be an administrator, or have the Schedule pinboard privilege, and at least view-only access for the pinboard.
To schedule a Pinboard, follow these steps:
-
Sign in to ThoughtSpot from a browser.
-
Click Pinboards, on the top navigation bar.
-
Select the pinboard you want to create a schedule for.
-
Click the More menu icon and select Manage schedules to view all of the schedules set for the pinboard.
-
Click + Schedule to add a new schedule.
On the Add a Schedule page, you create a new schedule for your pinboard.
-
Set the values for your schedule:
- Repeats
-
You can rebuild a Pinboard every n minutes, hourly, daily, weekly, or monthly. For some of these, you can also choose specific times of the day or days of the week.
If you schedule a Pinboard hourly or every n minutes, ThoughtSpot bases the schedule on when you first schedule the Pinboard. For example, if you schedule a Pinboard to repeat every 3 hours, and you first click on Schedule at 8:14 A.M., ThoughtSpot sends it to you at 11:14 A.M., 2:14 P.M., and so on.
Make sure to note the Server time zone.
- Name
-
Provide a short name for this schedule. This name should be descriptive and unique.
- Description
-
Enter a description to remind yourself and to inform others. If this is an important schedule for a meeting or a report, you should mention that.
- Type
-
-
CSV files provide all data for tables, with one attachment for each table. Use CSV files to perform further analysis offline.
-
PDF files show all visualizations in the Pinboard. Each chart uses a page in the file; tables show only the first 100 rows of a table. Use PDF files to skim the data.
-
Configure layout options allows you to specify the Pinboard layout, after you choose either CSV or PDF. For more details about the layout options, refer to Download a pinboard as a PDF.
Refer to format of scheduled Pinboards for more information about the differences between CSV and PDF attachments in a scheduled Pinboard email.
-
- Gating condition
-
Write a statement that returns a single boolean value (
true
orfalse
). For example,sum (revenue) > 100
is a valid condition, butis_weekend (commit_date)
is not, since it returns a result per row of data. You can use any data source (table, worksheet, or view) for the gating condition, since ThoughtSpot executes the query as an admin with access to all data sources. The gating condition formula and any tables you use in it do not need to be related to the pinboard the gating condition is for. You can use any valid formula in your statement. ThoughtSpot checks the formula syntax, but does not validate if the formula returns a valid single boolean.At the scheduled time, ThoughtSpot executes the gating condition query as a ThoughtSpot admin user. If the condition evaluates to
true
, ThoughtSpot processes the Pinboard.For a list of valid formulas, see Formula function reference.
For an in-depth example of a scenario where a gating condition is useful and powerful, refer to Pinboard schedule gating conditions in practice.
ThoughtSpot executes the gating condition as a ThoughtSpot admin user. If you are using passthrough security for your external data warehouse connection, the gating condition may not work. - Recipients
-
You are limited to 1000 recipients for each job. You can add Users or groups. Use Emails to add recipients who are not ThoughtSpot users. Your ThoughtSpot admin must set these email domains as allowed domains in advance. Contact ThoughtSpot Support to add allowed domains.
If you experience problems with sending email, your cluster may not have SMTP enabled. Contact your system administrator to resolve this issue.
-
Click Schedule to save your schedule configuration.
When you download tables with date columns or view these tables in scheduled pinboards, the format for those dates may differ from their appearance in ThoughtSpot. The following date bucketing types may look different:
Bucketing Type | Appearance in ThoughtSpot | Appearance in CSV, XLSX, or PDF |
---|---|---|
Hourly |
AM/ PM |
24 hour |
Day of week |
Name of day (for example, Saturday) |
Number of day (for example, 6)[1] |
Monthly |
January 2021 |
1/1/2021 |
Month of year |
Name of month |
Number of month[2] |
Quarterly |
Q1 2021 |
1/1/2021 |
Quarter of year |
Name of quarter (for example, Q4) |
Number of quarter (for example, 4) |
Yearly |
2021 |
1/1/2021 |