Creating a Scenario
You can manage all scenarios that define the logical relationships between rules. Scenarios are stored in directories.
Prerequisites
You have created a home directory. To create a home directory, log in to the DataArts Studio console, click Access under a specific instance, choose on the Workspaces tab page, choose from the left navigation bar on the page displayed, and create a directory. Before creating a scenario for rules, select a directory to store the scenario. For details, see Figure 1.
No. |
Description |
---|---|
1 |
Create Directory |
2 |
Refresh Directory |
3 |
Right-click All to create, rename, or delete a directory. |
Creating a Scenario
- On the DataArts Studio console, locate a workspace and click DataArts Quality.
- Choose from the left navigation bar.
- Click Create. In the dialog box displayed, set the parameters based on Table 2.
Table 2 Scenario parameters Parameter
Description
Basic Configuration
Scenario Name
The name of a scenario, which contains 1 to 64 characters and only consists of letters, numbers, and underscores (_).
Description
Information to better identify a scenario. It cannot exceed 256 characters.
Directory
The directory that stores the scenario. You can select a created directory. Figure 1 shows the directory.
Business Level
The options are Warning, Minor, Major, and Critical. The business level determines the template for sending notification messages.
Rule Group Configuration
Define Rule Group
Group of rules. Logical expressions are used between rules.
Rule A
You can select a rule from the drop-down list.
You can also click to add multiple rules.
Subscription Configuration
Notification
Set this to or to enable or disable the notification function.
Notification Type
The options are as follows:
- Trigger alarms
- Run successfully
Topic
Select a message notification topic.
NOTE:Currently, only SMS and email are available for subscribing to topics.
- Click Next to go to the page where you can select a scheduling mode. Currently, Schedule once and Schedule periodically are supported. Set parameters for scheduling periodically by referring to Table 3.
Table 3 Scheduling parameters Parameter
Description
Effective
The period during which a scheduling task takes effect.
Scheduling Cycle
The frequency at which a scheduling task is executed. Related parameters are:
- Minute
- Hour
- Day
- Week
Time Interval
Interval for two consecutive scheduling tasks.
Start from
Start time and end time of the scheduling task
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot