The dialog is displayed when you click the OK button in the New Cache dialog for selecting queries. It helps you to define the updating policy of the data caches created based on the selected queries.
This dialog contains the tabs listed below. Set the settings in each tab according to your requirements.
Back
Goes back to the previous tab.
Next
Goes to the next tab.
Finish
Applies the settings.
Cancel
Cancels any settings and returns to the New Cache dialog for selecting queries.
Help
Displays this help document.
Before you can schedule a CRD task, you first need to configure the settings in this tab. See the tab.
Specifies the parameter values for the listed query resources.
Select Query
Lists all the query resources you selected in the New Cache dialog for selecting queries. Select a query resource from the drop-down list and then specify the parameter values for it.
Specifies values of the parameters applied in the selected query resource. If the query resource does not have parameters, "No Parameter Needed" will be displayed here.
You may specify parameter values in the following ways:
If no parameter values are specified, the default values will be applied.
This section is available when the selected query resource contains a business view.
Name
Shows the name of the query resource.
Cache BV Data
Specifies whether to also cache data of the business view in the query resource when the query resource is cached.
When you change Cache BV Data from selected to unselected and then save the setting, the already cached business view data will be removed.
If the business view uses parameters that are not contained in the query, JReport cannot cache the BV data.
Only Cache Aggregation Data
Specifies whether to only cache the aggregations in the business view, without any other data in the business view and query resource.
Specifies the data cache information.
Name
Displays the name of the selected query resource. It is also used as the name of the new data cache.
Data Source
Displays the data source name.
Catalog
Displays the catalog information. The latest version is used by default.
Type
Displays the type of the query resource.
Priority
Specifies a priority level to the scheduling task. The priority levels are from 1 to 10 in ascending order of lowest priority to highest priority. This property is available to administrators. By default this property is ignored unless server.properties is modified to set queue.policy not equal to 0.
Configures some advanced settings.
Connect to [Data Source Name]
Specifies the DB user and password with which you want to connect to the data source.
Add TaskListener to be Invoked
Enables you to call the Java application before/after viewing or when scheduling the task.
Enable Auto Recover Task
Specifies to enable the task to be auto recovered.
The Conditions tab allows you to specify the conditions for the task. It contains the following two sub tabs:
The Time tab allows you to set settings for specifying the time for when a task is to be performed. See the tab.
Time Zone
Specifies the time zone.
Time Type
Specifies the time type of the task.
If the option is not checked, the schedule will be performed automatically according to the time condition.
If the option is checked, the schedule will be fired only upon the first report running request based on the query after each scheduled time.
The Trigger tab allows you to set settings for specifying a trigger for the task. See the tab.
Select a trigger to bind
Specifies the trigger from the drop-down list for the task.
Create New
Creates a new trigger.
Logic with time condition
Specifies the logic between time condition and trigger condition.
Notes:
The Notification tab allows you to notify someone by e-mail when a task has finished running, regardless of whether it was successful or unsuccessful. See the tab.
When task is successful
Specifies to send an e-mail when the task is successful.
When task fails
Specifies to send an e-mail when the task is unsuccessful.
To
Specifies the address you want to send the e-mail to.
Cc
Specifies the address you want to copy to.
Bcc
Specifies the address you want to secretly copy to.
Subject
Specifies the subject of the e-mail.
Comments
Specifies the contents of the mail or comments to the contents.
This tab is available only when you have enabled the task-level timeout mechanism either by setting the task.duration.enable property to true in the server.properties file or by checking the Enable Task Duration option in the Configuration > Advanced panel on the JReport Administration page.
In this tab, you can specify a time duration for a task, and ask JReport Server to cancel the task or to notify you or someone else of the task status via e-mail if the task has not yet finished running when the task duration is up. See the tab.
The following are the available options:
Timeout
Specifies the time duration for the task.
Notify by e-mail after the specified time
Sends an e-mail about the task information when the specified time is up.
Cancel the task after the specified time
Cancels the task when the specified time is up.