How to create a Taskset?

How to create a Taskset?

book

Article ID: KB0078008

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.1 and above

Description

Before creating a Taskset, ensure that:

1.The Analysis Configuration to be run by MAS has an alarm event selected. For example, the Analysis Configuration shown in the next image has the Sample out of control alarm event selected.

User-added image  

2.The underlying Data Configuration has an Auto Update field. This enables MAS to identify old alarms vs. new alarms. For example, the Data Configuration in the next image shows the TM field designated as the first update column.

User-added image

Issue/Introduction

This article demonstrates the steps of creating a Taskset within Statistica Enterprise.

Resolution

The creation of a Taskset in Enterprise Manager is similar to the creation of other types of objects. 

1. Right-click on a folder, and select New Taskset.

User-added image

A new Taskset object will be created. Name the new Taskset OilTasks.
User-added image

2. In the context of a Taskset, Analysis Configurations are referred to as Tasks. To add an Analysis Configuration to this Taskset, click the Add Task button.
You will be prompted to select a task.

User-added image

3. Select a task, and click OK.

4. Accept the default option to use the same permissions for the Taskset as are specified for the Task (Analysis Configuration) we just selected.

User-added image

5. Click OK.
Now the Taskset node will be expanded, and you will be navigated to the first child node that shows the characteristics in the Analysis Configuration (Task) that you selected.

User-added image

6. The Flow Two characteristic is the characteristic that is plotted by the Analysis Configuration. Select that check box to indicate that it is the characteristic to be monitored by MAS.

User-added image

7. Now click Next Step.
If the Analysis Configuration you just specified does not have an alarm option selected, a warning will be displayed.

User-added image

MAS will only generate alarm notifications for Analysis Configurations that have an alarm option selected. If necessary, expand the Analysis Configuration node and select an alarm event.

Define a Rule for Generating Alarms
Next, define a rule for generating alarms. 
1. Select the main Taskset node.

User-added image

2. Next to the Alarm Rules box, click the Add Rule button. A new rule node will be added as a child of the Taskset node.

User-added image

3. In the Execute action if drop-down box, you can specify the conditions in which an alarm will be generated. Select Any conditions are met.

User-added image

4. In the Conditions group box, click the Add button. The Condition dialog box will be displayed:

User-added image

5. You can specify that the Taskset generate an alarm for a single Task (Analysis Configuration) or for any Task in the Taskset. For this example, select Any, and click OK.

User-added image

6. In the Actions group box, specify what actions MAS should take in response to an alarm. Click the Add button. The Choose an action dialog box will be displayed.

User-added image

7.You can elect to send an email or run an executable program file. For this example, select the Send an email option button, and click OK.

User-added image

8.In the Send Email dialog box, type in the email address to which the alarm notification should be sent, and click OK.

User-added image

9.Select the Schedule node.

User-added image

10. You can schedule when MAS should run the Tasks in this Taskset. You can specify a repeating schedule, or you can select On Demand if you just want to run the Taskset manually. For this example, select On Demand.

11. Select the Options node.

User-added image
Here, you can select various options:

12. Use alarms not older than specifies that MAS should ignore any alarms older than a specified time. For this example, clear this check box.

Process alarm rules against new alarms only affects how alarm notifications interact with alarm acknowledgements. If this check box is selected, a given event will only generate an alarm once. If this check box is not selected, a given event will generate an alarm every time the task is run until the alarm is acknowledged. For this example, clear this check box.

The email address you enter in the Admin email address field will receive a notification whenever MAS fails to run a task.

13. Select the Access Permissions node.

User-added image

14. Here you can specify user permissions in the same way as with other Statistica Enterprise objects. For this example, give everyone permissions to this Taskset.

15. Save the Taskset by clicking on the diskette icon in the upper-left corner.