Viewing automation policy runs history


The History page shows the status of all automation policies run in BMC Helix Intelligent Automation and allows you to view the output details of any policy run. 

By default, the policy history is retained for 90 days, and after 90 days, the policy runs are deleted. You can search for a policy by specifying the policy name or event ID or by using advanced filters. 

To view the policy run history  

  1. Click History and view the following information:
    • Total number of successful, running, failed, waiting, and rejected automation policies.
      By default, the timeout period for a policy is 2 days. If a policy run is in a running state for more than two days, it is marked as failed. 
    • Start date and time
    • Automation policy name
    • Event ID: Double-click the Event ID to copy it to the clipboard. Use the copied Event ID to simplify the search for specific records in BMC Helix Intelligent Automation.
    • Execution Mode: Manual or Automatic
    • Status
    • Duration taken for the policy run
    • Ticket ID: Click the change request ID to view the Ticket ID, Status, Approver name, and the date of approval for the change request. After the change is approved, the policy runs on the target applications. 
    • The instance ID of the policy runHistory Page Improvements.pngPolicy Runs.png
  2. (Optional) Click the column selector Column Selector_24302.pngto select or clear the columns that you want to display on the History page. 

  3. To view additional details about a policy run, click a policy name. 
    In the Policy Details dialog box, the following details are displayed:
    1. The actions executed during the policy instance execution in the left pane,
    2. The status of the action and other details are in the right pane in JSON format.
      For a failed policy, the reason for the failure is displayed in the right pane.
      In the following example, the Policy Details dialog box shows the status and the ticket details when a Create or Update Trouble Ticket policy is run. 

      Create or update trouble ticket History.png
      Similarly, the following image shows the details of the information event created in BMC Helix Operations Management as part of the trouble ticket creation.
      Create Info Event History.png
      Policies that consist of Ansible Tower and BMC Helix Innovation Studio actions execute the actions asynchronously. Hence, after the actions are executed in the applications, the policy details dialog box shows the updated status.
      Polling Update.png

  4. Click Close.



To search for policy runs

By default, you can search for policy runs by specifying the Event ID. All policy runs that match the event ID are displayed. You can switch to Automation Policy and search by the policy name, if needed. 

For an advanced search, perform the following steps: 

  1. Click Advanced filter and do one of the following options: 
    • From the available filters, select a filter and choose any of the filter options:
      • Start Date: Select the start and end date 
      • Time: Select the time for which you want to search the policy run
      • Execution Mode
      • Status
      • Policy Tags: Specify a key-value pair to search based on the tags added to a policy.
        For more information about tags, see Creating-automation-policies.  
    • Enter the filter name in the text field, or to build a search expression, type the filter name and select the option from the list of available options. 
      For example, if you start typing Status, status options appear. 
  2. Click Apply filters.
    The policy runs that match your filters appear. The numbers in the total number widgets also change based on the specified filters. 


To resume incident or trouble ticket creation

If the Create or Update Incident Ticket and the Create or Update Trouble Ticket automation policies have been in a waiting state for a long time, you can use the Resume Queue option to restart executing incident or trouble ticket creation for these events.

  1. On the History page, search for the policy name.
  2. Click to open the policy. 
  1. Click Queue Details and then click Resume Queue.
    Resume Queue_251.png


To delete policy runs history

By default, automation policies are retained for 90 days. However, if you want to manage the policy history efficiently based on your organization's requirements, perform the following steps to delete selected policy runs: 

  1. Click the Advanced filter, and select the Start Date and End Date.
  2.  (Optional) From the Status field, select one or more options.
  3. Click Apply filters.
    The policy runs that match your filter and the Bulk Actions option is displayed. 
  4. Select Bulk Action > Delete Automation Runs.
    The following message is displayed depending on your filters.
    image-2024-12-11_12-30-17.png
  5. Click Confirm.
    The filtered policy runs will be deleted within the estimated time. You cannot perform another bulk delete action before the current action is complete. 

 

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