Creating a job file
A Spotfire Automation Services job file is an XML file that is created in the Job Builder. It contains the set of tasks that are performed each time that the job runs, along with any relevant settings for each task.
Before you begin
- To execute Spotfire Automation Services jobs on the server using the Job Builder or the Client Job Sender, a user must be a member of the group Automation Services Users.
- To run the Job Builder, a user must also have the Automation Services Job Builder Tool license enabled.
- Analysis files that are used in automation jobs must be in the Spotfire library.
Procedure
- Inserting a field in a Spotfire Automation Services job
To ensure that the Job Builder creates a new file each time that a particular job runs, you can add one or several fields, such as the automatically updated date and time fields, to the file name. You can also insert fields in other text areas, such as an email message that you create for sending a new file to its recipients. Additionally, you can iterate over a list or table using ForEach fields. - Duplicating tasks in a job
For Job Builder jobs that include executing a task repeatedly, such as opening several analyses and exporting each one to a PDF file, you can duplicate an existing task, including its settings, as many times as needed. - Job Builder tasks
These are the tasks that are included in the Spotfire Automation Services Job Builder. - Emailing reports using a single analysis
This example uses an analysis containing sales data for an organization, with different data for multiple users and groups. Based on the data, PDF reports will be created for various sales regions and will be sent to the different sales managers. - Batch editing multiple analysis files
You can create an Automation Services job that performs a set of tasks in multiple analysis files. This example shows how you can set up a job that loops through a list of analysis files defined in aForEach
task, opens each analysis, executes an IronPython script, and then saves the analysis.
- Inserting a field in a Spotfire Automation Services job
To ensure that the Job Builder creates a new file each time that a particular job runs, you can add one or several fields, such as the automatically updated date and time fields, to the file name. You can also insert fields in other text areas, such as an email message that you create for sending a new file to its recipients. Additionally, you can iterate over a list or table using ForEach fields. - Duplicating tasks in a job
For Job Builder jobs that include executing a task repeatedly, such as opening several analyses and exporting each one to a PDF file, you can duplicate an existing task, including its settings, as many times as needed. - Job Builder tasks
These are the tasks that are included in the Spotfire Automation Services Job Builder. - Emailing reports using a single analysis
This example uses an analysis containing sales data for an organization, with different data for multiple users and groups. Based on the data, PDF reports will be created for various sales regions and will be sent to the different sales managers. - Batch editing multiple analysis files
You can create an Automation Services job that performs a set of tasks in multiple analysis files. This example shows how you can set up a job that loops through a list of analysis files defined in aForEach
task, opens each analysis, executes an IronPython script, and then saves the analysis.