Configuring provider actions
To configure provider actions in classic Smart IT
- Click Configuration > Screen Configuration.
- Click Add/Remove Actions from the specific view.
For example, to configure a provider action for a Problem Investigation, click Add/Remove Actions of the Problem Investigation.
By default, the list of actions is alphabetically ordered. You can customize the ordering using the Custom Order option. - Click Add Action.
- In Action Type section, click Provide Action.
- Select the options for Supported Platforms.
- Enter a name for the action in the Action Name field.
- In the Localized Labels to Show section, select languages that are supported and enter the Label Text for localization. The Label Text will be shown as a menu item in the More menu of an Incident.
- Click Save.
- To complete the provider action configuration, see To configure and add business logic of provider actions section.
To configure and add business logic of provider actions
To complete the provider action configuration, you need to associate the Action Request System forms in Developer Studio.
- In the Developer Studio, select the related server and log in.
The server name is displayed in the AR System Navigator tab. - Click All Objects.
- Right-click Filters and click New Filter.
- In the Associated Form section, click Add.
- In the Filtering option dialog box, type the form name in the Name field.
For example, CHG:Infrastructure Change. - Select the form and click OK.
- Under Execution section, select the Service check box.
- (Optional) In Run if qualification, build a query with the action name and the Action name=attributes.
- Click OK.
- In the If action pane, right-click Add Action, and select the appropriate option and complete the steps based on the added action.
For example, if you select Set Field action, you can set the fields and the corresponding values in the Set Fields section. You can set the values from the available Selection Values or from any field. - Provide a filter name and click OK.
The provider action is set. You can open a ticket in classic Smart IT and from the More menu, you can execute the provider action. You can also configure this provider action at a specific field. For details, see To configuring provider action for a specific field section.
To configure automatic provider actions based on logical conditions
In addition to configuring provider actions which are triggered by the direct action of the user, as a BMC Helix ITSM administrator, you can configure provider actions on incident, change, work order and task tickets which are executed dynamically based on logical conditions. You can also configure provider action by using expression for incident tickets in edit mode. If the information provided or modified by the classic Smart IT users in the ticket meet the condition that is configured by the BMC Helix ITSM administrator, the provider action is executed and the following message is displayed:
Universal client | Android / iOS application |
---|---|
Provider actions with expressions can be configured in the Universal Client (UC), and users can execute it in the UC as well as in the Android or iOS classic Smart IT applications.
Follow these tasks to configure the provider action:
- To configure a template for provider actions.
- To configure provider actions in classic Smart IT.
- To configure and add business logic of provider actions in IT Service Management.
For an example, see Example-Configuring-provider-actions-to-automate-data-entry-for-high-priority-tickets.
You should check the arfilter.log to ensure that the back end filter is executed. The arfilter.log is available in the database folder under the AR Server installation directory (<AR System install directory/db/>). In addition, you can check the Console log to see the fields that have changed while executing the provider action.
Before configuring the provider action by using expression, you need to define the expressions at the field level. For more information about expression, see Dynamic expressions for configuration.
To configure a template for provider actions
- Open SMT:SmartIT_Provider Action Template Configuration form in create mode.
- Click New.
- In the Provider Action Template Name field enter the name of the template.
- Click the drop down list of the Source Form field and select the form.
- Select the ticket type from Data Source field as per your requirement.
Enter the View Id of the specific view. The fields in the User Prompt appears based on the View ID.
You can check the view Id from the Basic properties in Developers studio.
For example, for Best Practice View, the View ID is 399990344.- Select Online radio button.
- For Input field, select Input from the Mapping Type drop down list.
- (Optional) Select Sequence.
This sequence is maintained in the Mapping Type panel in the template.
For example 1. - From the Select SourceField drop-down list, select the source field.
After selection, the selected source field is displayed in the Source DB Field Name. - Click Save.
After you click Save, the New Mapping button becomes active. - Click New Mapping.
- Select Output in the Mapping Type and follow the same process for mapping.
- Click Save.
The input and output fields appear in classic Smart IT when you select the template in the Template Name field of Provider Action.
To configure provider actions by using a template in classic Smart IT
After creating the template in Mid Tier, you need to configure the provider action in classic Smart IT. Refer to the following steps for this configuration:
- Log in to BMC Helix ITSM as an Administrator.
- From the Configuration menu, select Screen Configuration.
- Click Add/Remove Actions in the specific view (For example, Change View, Incident View).
By default, the provider actions that are already configured appear in alphabetical order in the Add/Remove Actions dialog box. You can click Custom Order and drag and move the provider action to configure the actions as per your preferred order. - Click Add Action to configure a new provider action.
- Under Action Type, click Provider Action and provide any additional basic information.
For the Selected Platforms where the action will be displayed, select Desktop Web (UC), Mobile Platforms (iOS/Android), or both.
- In the Template Name field, start typing the Action Request System template name, and select from the suggested list. This template is used to map the Action Request System template with classic Smart IT.
- Under the I/O Mapping section, select Available Mode to configure a provider action for a specific field.
- Select View to have the provider action button of a specific field appear in the view mode of the ticket.
Select Edit or Both to have the provider action button for a specific field appear in either of those modes in the ticket view.
For more information on configuring provider action at a specific field, see Configuring provider action at a specific field section.
- Under the Input Mapping area, perform the following actions for the input mapping fields:
- Select From Ticket and type and select a specific field of the classic Smart IT ticket to execute the value of the field.
- Select User Prompt, if users need to execute the provider action based on a specific information.
Select Default Value, type and set a default value.
- Select the Synchronous Action check box.
The provider action is synchronized and the classic Smart IT screen does not change until the execution is completed. If you don't select this check box, the action becomes Asynchronous and the provider action is executed at the background and don't refresh the data on screen. For Asynchronous actions, you must refresh the ticket after the action completes to see the updates.
- For Incident tickets, if you want to configure provider action by using expression, select Execute On.
The On Field Value Change field appears. Start typing the expression that you want to configure and select the expression.
To know more about expressions, see Dynamic expressions for configuration. - Under Localized Labels to Show, select a supported language and add a label for the action. The label text is displayed under the More menu.
- If you map the provider action with any specific field, the field is displayed in the Mapped to fields area. For more information on configuring provider action at a field, see Configuring provider action at a specific field section.
- Click Save to configure actions.
To configure provider action for a specific field
The provider action at the field is indicated by a button. Users can click this button to execute the provider action.
- From the Configuration menu, select Screen Configuration.
- Select the field from the Available Fields section to get it in the Selected Field section if the field is not appearing in the Selected Field section.
- Click the field where you want to configure the provider action.
- Select Associate Action.
- From the menu, select the required provider action.
Select an icon to appear as the provider action button beside the selected field in the tickets.
Click Save.
The provider action icon appears at the specified field as a button. Users need to click the button to execute the provider action.
If you map the provider action with any specific field, the field is displayed in the Mapped to fields area.