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 | My Favorite bar Displays all the workflows marked as favorite. |
2 | Name of the open workflow For example, test2. |
3 | Workflow identifier The workflow identifiers are as follows:
|
4 | Filter bar |
5 | Toolbar options |
6 | Parent report view |
7 | Child report views |
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.
In the Create Workflow dialog box, you can either create your own workflow or select a template from the Workflow Templates.
The product-provided workflow templates are indicated by the BMC logo. Your own templates are indicated by
. You can delete your own templates by clicking
; you cannot delete the product-provided BMC templates.
- To create a workflow, in the Create Workflow dialog box:
- Enter a name for the workflow.
- (Optional) Enter a description in the Description field.
- Select one of 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.
- In the Source CDB Database area, either search for a source CDB database for your new workflow or select one from the Available Database DSNs list. The Source CDB Database field lists the databases defined in the CDB Automator catalog.
You can also perform the following tasks in this area:- To search for a database DSN, type the name of the DSN in the Search field.
- To hide an available database DSN, click
next to it or drag it to the Hidden Database DSNs list.
- To display hidden database DSNs, turn on the Show Hidden Database DSNs toggle switch.
- To restore a hidden database DSN to the Available Database DSNs list, click
next to it or drag it to that list.
- To reorder the lists, drag the database DSNs, as required.
- 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:- Favorite Workflows
- My Workflows
- Public Workflows
- Workflows shared with me
- To sort the workflows, use one of the following options:
- Owner—Sorts the list by ownership.
- Workflow Name—Sorts the list in alphabetical order.
- Last Updated—Sorts the list by the Last Update field.
- Use the Search field to search a specific workflow and open it.
- To mark a workflow as favorite, click
next to the workflow name.
The workflow is added to the Favorite Workflows list. - From the workflow list, select the workflow that you want to open, and click Open Workflow.
The selected workflow is displayed.
To mark a workflow as favorite
Click on the title bar of a workflow to mark it as favorite.
The workflows that are marked as favorite also appear in the My Favorites bar when a workflow is opened. In My Favorite bar you can:
- Scroll the bar to see all your favorite workflows
- Re-order your favorite workflows by using drag and drop
- Remove a favorite workflow by clicking X next to it
- Remove a favorite workflow off the bar by using drag and drop
- Open a favorite workflow by clicking on it
To rename a workflow
- Click
next to the workflow name on the title bar and enter the new name.
- Click
to save the new name.
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 displays the created workflows. - Select one or more workflows and click Delete Workflows.
The delete confirmation message is displayed. - Type workflow and click Delete.
You can also delete a workflow by selecting the Delete Workflows option from the left pane in an open workflow, or by clicking deletenext to the workflow name in the title bar.
- Use the Search field to search for a specific workflow and delete it.