Configuring event commands and parameters for use in custom applications
BMC Service Request Management uses the event commands and parameters to communicate and synchronize data such as status updates and work log activities with the fulfillment applications.
The Service Request Management event commands are configured by default to work properly with Incident Management, Change Management, and BMC Work Order Management applications.
When configuring events with their command parameters, map fields from the application interface form to the Service Request Management framework command parameters. Service Request Management uses the mapping definition when sending events to the fulfillment application interface form. Map the application fields that you registered for Service Request Management field mapping to event command parameters. The command parameter values are copied to the fields specified by the field ID in the mapping.
Available commands
Service Request Management contains the following predefined commands and parameters:
Command | Description |
---|---|
Service Request Management Command (inbound for application requests) | Select the appropriate inbound command from Service Request Management to the registered application:
|
Service Request Management Command (inbound for push application requests and updates) | Select the appropriate inbound command from Service Request Management to the registered application for push application requests and updates:
|
BMC Service Request Management Command (outbound for application requests) | Select the appropriate outbound command from Service Request Management to the registered application:
|
Change Management Command (outbound for application requests) | Select the appropriate outbound command from Change Management to the registered application:
|
Task Management Command (outbound for application requests) | Select the appropriate outbound command from Task Management to the registered application:
|
To view event commands and command parameters
- In the Application Administration Console, click the Custom Configuration tab.
- From the Application Settings list, select Foundation > Advanced Options > Command Automation Interface - Define Command Parameters, and click Open.
In the Command field on the Define Command and Command Parameters form, select an event command, and click View to open the Commands form.
Defining event commands and parameters
After defining an entry in the Application Registry form, you must define the commands and command parameters.
To define event commands
- In the Application Administration Console, click the Custom Configuration tab.
- From the Application Settings list, select Foundation > Advanced Options > Command Automation Interface - Define Command Parameters, and click Open.
In the Define Command and Command Parameters form, click Create New Command.
The Commands form opens.To create a command and parameters, enter information in the following fields:
Field
Description
Command
Enter a name for this command.
Direction
Select one of the following items:
- Inbound — Inbound from the application to the task management system
- Outbound — Outbound from the task management system to the application
Operation Type
Select one of the following items:
- Create — Creates a request
- Get — Gets information from a request
- Update — Updates a request
Command Type
Optionally select one of the following items:
- Append — Contains a series of commands followed by a series of parameters
- Interleave — Contains a series of alternating commands and parameters
Description
Enter a description.
Selection Type
Select Event.
Status
Select a status.
- Click Save.
To define command parameters
- In the Application Administration Console, click the Custom Configuration tab.
- From the Application Settings list, select Foundation > Advanced Options > Command Automation Interface - Define Command Parameters, and click Open.
- In the Define Command and Command Parameters form, select a command.
Any command parameters that are defined appear in the Command Parameters table. - Click Create.
To specify the type of information that is pulled from the fulfillment application, enter information in the following fields:
Field
Description
Command
This information is filled in automatically.
Parameter
Argument passed to the event command
Type
Select one of the following items:
- In — Inbound from the application to BMC Service Request Management
- Out — Outbound from BMC Service Request Management to the application
- Qual — Parameter is used as a qualification. For example, if the parameter name is 179 and the parameter value is 12345, CAI converts this to '179' = "123345".
Data Type
Select one of the following return parameters:
- Character — 254 character length
- Attachment — Attachment type data field
- 0-Length Char — Character field of unlimited length
Mode
Select one of the following items:
- Optional
- Required
Status
Select a status (for example, Active).
Description
Enter a useful description of the command parameter.
- Click Save.
To define command parameter mappings
Define mappings between the parameters defined on the Command Parameter form and the Interface Form that you specified on the Application Registry form (as described in Creating application templates and application object templates).
- On the Define Commands and Command Parameters form, select the command to define mappings for.
- Click Create.
In the Command Parameter Mappings form, enter information in the following fields:
Area Field Description Application Registry and Command information App Registry Name Select the application you registered on the Application Registry form. For more information, see Registering custom applications for integration. Command You can use the selected command or select a command that you defined. Status Select a status. Order Specify the order in which the parameters are used. The order is necessary for URL type commands.
By default, the order is zero.Parameter Name Select the parameter name that you defined for the selected command on the Command Parameters form. The menu list values are derived from the SRM:CommandParams form, which is currently a fulfillment form. These are possible SRM parameters or fields that can be mapped to the fulfillment application's request fields for each command. Type This is filled in automatically. Data Type This is filled in automatically. Application Fields — Map an application field to an appropriate field on the Application Registry form. App Interface Form Select the form name or enter it manually. The form name that you select should match the value of the Interface Form field, which you specified on the Application Registry form, for the registered application. Field Name Select a field from the menu of registered applications, or enter it manually. Field ID Enter the field ID of the field you selected. If you selected a registered field from the Field Name menu list, this field is automatically filled. You can also enter this value manually. To delete a command parameter mapping, select one from the table, and click Delete.
- Click Save.
Comments
Log in or register to comment.