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
- In BMC Helix Integration Studio, go to Catalog.
- Select the ITSM For PSR to Helix Ops Mgmt for Blackout flow.
- Next to the flow title, click Use This Flow.
- (Optional) Select the flow level.
- 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
- Go to Catalog and select the ITSM For PSR to Helix Ops Mgmt for Blackout flow created in the previous step.
- Click the Edit Flow icon.
Click the Edit Field Mapping tab.
Important
The trigger for the flow is already selected.
The following field mappings are defined out of the box:
For more information about blackout policies, see Blackout policies .Field Value Description 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 Criteria Event Selector Criteria Defines the Selection Criteria in the blackout policy. Start Time Scheduled Start Time Defines 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 Date Scheduled End Date For a recurring schedule, defines the End Date in the Blackout Settings. (Optional) Enabled true 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.
Recurrence oneTime Defines the Time Frame values in the Blackout Settings.
To set up a recurring schedule, update the value to recurring.
(Optional) Description Description Defines the Description in the blackout policy. End Date Scheduled End Date
For a recurring schedule, defines the End Date in the Blackout Settings. Occurrences NA 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.
Never false 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 Order 9999 Defines the Precedence in the blackout policy.
Important: Do not modify this value.
Details NA 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"
- Set the value to:
- 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.
- Set the value to:
- 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"
- Set the value to:
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 topic.
(Optional) Timezone ID Etc/UTC Defines the Time Zone in the Blackout Settings. Timezone Offset Z 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 Events true 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 End false 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.
- Click Save and Close.
Comments
Log in or register to comment.