Troubleshooting CI issue


CIs are not populated for a service that uses dynamic content (blueprints).

Issue symptoms

Global inline flags such as ignorecase (?i) in Python need to be placed in the beginning of a regular expression. In versions earlier than 3.11, Python issued warnings for a misplaced flag. Starting version 3.11, a misplaced flag causes an error. BMC Helix AIOps uses Python version 3.11. If you misplace a global inline flag when adding the regular expression, no errors are shown, but no CIs are populated when you save the service definition.

Issue scope

This issue occurs when adding dynamic content to a service if you use regular expressions to search for and populate CIs for a service.

Resolution

Perform the following task to resolve the issue:

  1. Open the service for editing for which you are not able to see the CIs.
  2. In the regular expression that you have specified in the dynamic content, place the global inline flag in the beginning of the expression.
    For example, if the existing expression is '^(?i)aus', update it to '(?i)^aus'

For more information, see Defining-a-service.

 

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

BMC Helix AIOps 24.3