Configuring the flow for Proactive Sevice Resolution for blackout policies

After you configure the Helix Ops Mgmt for Blackout and ITSM for PSR connectors, enable the ITSM For PSR to Helix Ops Mgmt for Blackout flow for your integration. The 

To use the ITSM For PSR to Helix Ops Mgmt for Blackout flow

  1. In BMC Helix Integration Studio, go to Catalog.
  2. Select the ITSM For PSR to Helix Ops Mgmt for Blackout flow.
  3. Next to the flow title, click Use This Flow.
  4. (Optional) Select the flow level.
  5. Click Next, and then click OK.
    The flow is successfully used and appears on the My Flows page. 

To configure the ITSM For PSR to Helix Ops Mgmt for Blackout flow

  1. Go to Catalog and select the ITSM For PSR to Helix Ops Mgmt for Blackout flow created in the previous step.
  2. Click the Edit Flow icon. 
  3. Click the Edit Field Mapping tab. 

    Important

    The trigger for the flow is already selected. 

  4. The following field mappings are defined out of the box:
    For more information about blackout policies, see  Blackout policies Open link .

    FieldValueDescription
    Is create/update

    Change Request Status set to false for equals to: 

    • Completed
    • Cancelled 
    • Closed 

    Change Request Status set to true for:

    • equals to Planning in Progress
    • Default mapping

    Defines the status of the change request for which the flow is executed, and does not map any fields between the applications.


    Name

    Helix_Automated_Change_Blackout

    Infrastructure Change ID

    Defines the Policy Name in the blackout policy.

    For example, if the change ID in the change request is CRQ223299809, the name of the policy created is Helix_Automated_Change_Blackout CRQ223299809.

    Event Selector CriteriaEvent Selector CriteriaDefines the Selection Criteria in the blackout policy.
    Start TimeScheduled Start TimeDefines the start time in the Select Start and End Time in the Blackout Settings.
    End Time

    Scheduled End Time

    Defines the end time in the Select Start and End Time in the Blackout Settings.
    Start DateScheduled End DateFor a recurring schedule, defines the End Date in the Blackout Settings.
    (Optional) Enabledtrue

    Sets the status of the blackout policy to Enabled.

    To disable the blackout policy, set this value to false.

    Priya: The SDD mentions that by default the policy is disabled. However, when I created the flow, this value was set to true. Please confirm.

    RecurrenceoneTime

    Defines the Time Frame values in the Blackout Settings. 

    To set up a recurring schedule, update the value to recurring.

    (Optional) DescriptionDescription Defines the Description in the blackout policy.
    End Date

    Scheduled End Date

    For a recurring schedule, defines the End Date in the Blackout Settings.
    OccurrencesNA

    If Recurrence is set to recurring, this defines the Recurrence Pattern in the Blackout Settings.

    Valid values include:

    • oneTime - Execute the blackout policy once.
    • daily - Execute the blackout policy daily
    • weekly - Execute the blackout policy on certain days of the week
    • monthly - Execute the blackout policy 

    Important:

    By default, Recurrence is set to oneTime.

    Neverfalse

    For a recurring schedule, enables the option to specify an end date for the Range of recurrence in the Blackout Settings.

    To select the No End Date option, set the value to true.

    Important: If the value is set to false you must specify a value either for End Date or Occurrences.

    Execution Order9999

    Defines the Precedence in the blackout policy.

    Important: Do not modify this value.

    DetailsNA

    If Recurrence is set, enter the values required for the type of recurrence. 

    • daily
      • Set the value to:
        {
        "days":<"value">
        }
        where value can be one of the following options:
        • To indicate all weekdays, enter all
        • To indicate all weekdays, enter excludeWeekend
      • For example, to execute the blackout policy only on weekdays, enter "days": "excludeWeekends"

    • weekly
      • Set the value to:
        {
        "daysOfWeek":[comma-separated list of the day in the numerical format]
        }
      • For example, to execute the blackout policy Sunday to Tuesday, and then Thursday enter "daysOfWeek": [ 1-3, 5 ]
        Important: Sunday is the first day of the week.
    • monthly
      • Set the value to:
        {
        "dates":[comma-separated list of the dates in the numerical format]
        }
      • For example, to execute the blackout policy from the 1st to the 15th of every month enter "dates": "1-15"

    For additional details of the values view the post/POST /events-service/api/v1.0/blackout_policies section in the Configuring blackout policies with rest apis Open link topic.

    (Optional) Timezone IDEtc/UTCDefines the Time Zone in the Blackout Settings.
    Timezone OffsetZ

    Enter the offset for the selected Timezone ID.

    Important: 

    The date and time values of the change request are updated to the time zone defined in the blackout policy by using the timezone offset. These calculated date and time values are used in the blackout policy that is created

    (Optional) Blackout Existing Eventstrue

    Selects the Blackout existing events option under Blackout Actions in the Blackout Settings.

    When selected, the status of existing events that match the Event Selector Criteria changes from Open to Blackout at the start of the blackout window.

    To disable this option, set the value to false.

    (Optional) Reset Status on Blackout Endfalse

    Disables the Restore the last status of blacked-out events option under Blackout Actions in the Blackout Settings.

    To enable this option, set the value to true.

    When enabled, the status of existing blackout events changes to their last status at the end of the blackout window.

  5. Click Save and Close.
Was this page helpful? Yes No Submitting... Thank you

Comments