Working with workflows


The following is an example of the main Workflow Builder console:

image-2023-6-2_18-21-26.png

The components of the Workflow Builder are as follows:

image-2023-5-16_13-54-23.png

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:

  • Owner—Created and owned by you
  • Public—Created by someone else, but made available to everyone
  • Shared—Created by someone else, but shared with you

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

  1. From the BMC AMI Capacity Reporting console, click Workflow Builder.
  2. 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 logoimage2020-3-17_19-43-25.png. Your own templates are indicated byimage2020-4-15_12-11-58.png. You can delete your own templates by clickingimage2019-11-22_23-7-42.png; you cannot delete the product-provided BMC templates.

    image-2023-6-7_20-16-48.png 

  3. To create a workflow, in the Create Workflow dialog box:
  4. Enter a name for the workflow.
  5. (Optional) Enter a description in the Description field.
  6. 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.

      Warning

      Important

      Regardless of which setting you select, only you can delete your workflows.

  7. 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, clickimage-2023-6-7_10-7-54.png 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, clickimage-2023-6-7_10-25-1.png next to it or drag it to that list.
    • To reorder the lists, drag the database DSNs, as required.
  8. Click Create Workflow.
    The product creates the workflow and the Add Report View pane is displayed.
    image2022-6-13_18-9-30.png

To add a report view to a workflow

You can add a report view to a new or existing workflow as follows.

  1. 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

      Warning

      Important

      This option is displayed only when the measured data interval length is less than an hour for example, 15-minute 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.

    Warning

    Important

    The Time range field is not displayed for the Measured option.

    datagranularity.jpg

    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.
    Warning

    Important

    If you select Measured as OneSpan option, only the stacked or non-stacked bar charts can be used. 

    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.

  2. Click Add Report View
    The Add Category pane is displayed. 
    image-2023-6-2_18-34-39.png

  3. To add categories to a workflow, see Working-with-reporting-categories.

To open a workflow

  1. From the BMC AMI Capacity Reporting console, click Workflow Builder.
  2. Under Workflow Builder Actions, click Open Workflow.
    image2020-4-9_11-41-41.png

    The Open Workflow pane is displayed. The workflows are displayed under the following sections:
    • Favorite Workflows
    • My Workflows
    • Public Workflows
    • Workflows shared with me
  3. 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.
      image-2023-6-15_10-38-52.png
  4. Use the Search field to search a specific workflow and open it. 
  5. To mark a workflow as favorite, click image-2023-5-16_14-17-47.pngnext to the workflow name.
    The workflow is added to the Favorite Workflows list.
  6. 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 image-2023-5-16_14-17-47.pngon the title bar of a workflow to mark it as favorite.

image-2023-5-16_14-15-3.png

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

  1. Click image-2023-5-16_14-18-15.pngnext to the workflow name on the title bar and enter the new name.
    image-2023-5-16_14-16-59.png
  2. Click image-2023-5-16_14-18-47.pngto save the new name.

To delete a workflow

  1. From the BMC AMI Capacity Reporting console, click Workflow Builder.
  2. Under Workflow Builder Actions, click Delete Workflows.
    image2020-4-9_12-10-46.png
    The Delete Workflows pane displays the created workflows.
  3. Select one or more workflows and click Delete Workflows
    The delete confirmation message is displayed.
    image-2023-6-15_10-45-46.png
  4. 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 deleteimage-2023-5-16_14-11-24.png next to the workflow name in the title bar.
  1. Use the Search field to search for a specific workflow and delete it.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Capacity Reporting 24.2