Working with workflows
The following is an example of the main Workflow Builder console:
The components of the Workflow Builder are as follows:
The following table describes the components of the Workflow Builder:
# | Component |
---|---|
1 | Name of the open workflow For example, Root View. |
2 | Tag to specify if you own the workflow or it is shared For example, Owner. |
3 | Filter bar |
4 | Parent report view |
5 | Child report views |
6 | Toolbar options |
The following topics describe these components in detail:
To create a workflow
- From the BMC AMI Capacity Reporting console, click Workflow Builder.
Under Workflow Builder Actions, click Create Workflow.
The Create Workflow pane is displayed.In the Create Workflow pane, complete the following fields:
Field
Action
Description
Workflow Name
Enter the name of the workflow.
When creating a workflow, you can either create your own workflow or select one from the Workflow Templates list.
(Optional) Workflow Template
Select a predefined template for the workflow.
BMC AMI Capacity Reporting comes with its own out-of-the-box workflow templates that are listed in the Workflow Templates. A BMC logo
is displayed next to the BMC AMI Capacity Reporting out-of-the-box workflows. You cannot delete these workflow templates.
When you create your own workflow template, it is displayed below the out-of-the-box workflow templates with the
icon next to it. To delete these workflow templates, click on the
icon.
(Optional) Description
Describe the purpose of the workflow.
When you select an out-of-the-box workflow, the description field describes the function of the workflow template. You can modify the description later.
Privacy Setting
Select either the private or the publicly visible setting.
The Workflow Builder has the following privacy settings:
- My Private Workflow—makes your workflow visible to you and to users you share it with.
- Make this Workflow publicly visible—makes your workflow visible to all content creators and product administrators.
Source CDB Database
Select the CDB database.
The Source CDB Database field lists the databases defined in the CDB Automator catalog. You can select the CDB Database of your choice from the list.
If only one database is defined in the CDB Automator catalog, it is automatically selected as the CDB Database.
- Click Create Workflow.
The product creates the workflow and the Add Report View pane is displayed.
To add a report view to a workflow
You can add a report view to a new or existing workflow as follows.
In the Add Report View pane, enter the following information:
Field
Description
(Required) View Name
Enter the name of the view.
(Optional) Copy View
Select a View from the list.
You can select an existing report view from the list to use as a starting point for the new report view. The View list includes the existing report views in the current workflow.
(Optional) Description
Describe the purpose of the view.
If you are creating a new report view, the field is empty and you can enter the description here. If you are using another report view as a template, then this will contain the template's description if it has one. You can modify the description later.
Data Granularity
Select the type of data that is available in this view.
The Data Granularity field provides you with a measured granularity of the data being compared. You can select one of the following options:
- Measured (UIE DURN value)—Selects the measured data for the selected intervals
Measured as Hourly (Disabled if DURN=60)—Aggregates the measured data into hourly intervals
- Measured as Daily—Aggregates the measured data into daily intervals
- Measured as Weekly—Aggregates the measured data into weekly intervals
- Measured as Monthly—Aggregates the measured data into monthly intervals
- Measured as OneSpan—Aggregates the entire date span selection including any time span, into a single average value for each metric-object. For example, you can use this option to see the biggest resource consumers over several days or weeks.
When you select one of the Measured as data granularity options, the Time range field is displayed below the Dynamic and Fixed Data Timespan entries.
Using the Time range option, you can restrict measured or aggregation to include only specific time range for each day.
You can specify a start and end time to:
- Include only specific hours of the day—The end time is greater than the start time.
- For example, 07:00 -18:00 hours.
- Exclude hours of the day—The end time must be smaller than the start time.
- For example, 18:00 - 08:00 hours. In this case, for each day the aggregated intervals are 00:00 hours to 08:00 hours, and 18:00 hours to 24:00 hours.
- Produce with Measured as OneSpan—A single Average value of the metric for specific hours of the day.
When you select one of the Measured as options, the Banding option is replaced by the Min/Max option. For more information, see Using-the-Banding-and-the-Min-Max-options.
Dynamic Data Timespan
Select a timespan for the view.
A dynamic timespan provides date specifications that vary with each query according to the current date or the last date of data in the database.
Fixed Data Timespan
Select the start and end date from the date picker.
A Fixed timespan uses a fixed date range for the data.
Projection Days
Specify the number of days for which you want to project the data.
You can select the number of days for which you need projections. By default the Projection Days field displays zero.
Filter Options
Select Inherit common filter selections from parent view. The Filter Options is only displayed when creating a child view.
Selecting the Inherit common filter selections from parent view option lets the child view inherit the common filters from the parent view.
For more information about Report Views, see Managing-report-views.
- Click Add Report View.
The Add Category pane is displayed. - To add categories to a workflow, see Working-with-reporting-categories.
To open a workflow
- From the BMC AMI Capacity Reporting console, click Workflow Builder.
- Under Workflow Builder Actions, click Open Workflow.
The Open Workflow pane is displayed. The workflows are displayed under the following sections:- My Workflows
- Public Workflows
- Workflows shared with me
- To sort the workflows, use one of the following options:
- Owner—The list is sorted by ownership.
- Workflow Name—The list is sorted in alphabetical order.
- Last Updated—The list is sorted by the Last Update field.
- From the workflow list, select the workflow that you want to open, and click Open Workflow.
The selected workflow is displayed.
To delete a workflow
Use the following procedure to delete a workflow:
- From the BMC AMI Capacity Reporting console, click Workflow Builder.
- Under Workflow Builder Actions, click Delete Workflows.
The Delete Workflows pane opens. It displays the created workflows. - To sort the workflows, use one of the following options:
- Workflow Name—The list is sorted in alphabetical order.
- Last Updated—The list is sorted by the Last Update field.
- From the workflow list, select one or more workflows that you want to delete and click Delete Workflows.
The delete confirmation message is displayed. - Click Yes to delete the workflow.
To close a workflow
In the left pane of the Workflow Builder, click Close.