Defining automatic commands
On the Automatic tab, you define the Automatic Command of an automatic task template. All the components necessary to drive the automatic task template are defined on the Automatic tab. Automatic task templates imply that the runtime task instantiated from them can automatically run without human intervention. A user could be assigned to monitor the task but that is not required.
To set up automatic commands
On the Automatic tab of the Task Template form, define automatic commands for this task template:
A command, which is defined as a menu item. The following automatic commands are available:
- Add Fields — Field1 gets the value of Field2 + Field3; internal to the TMS module
- Check Approval — Checks to see if approval has been obtained. Frequency of approval check is based on the interval defined below. Internal to the TMS module. For more information, see Creating automatic tasks.
- Copy Field — Field1 gets the value of Field2; internal to the TMS module
- Set Compliance — Best practice automatic task for BMC BladeLogic Client Automation integration. This command triggers a filter that has a web service (consuming). However, you must install and configure the full CCM integration to use this functionality.
- Set Decimal — Field1 gets the contents of Decimal; internal to the TMS module
- Set Text — Field1 gets the contents of Text; internal to the TMS module
- Subtract Fields — Field1 gets the value of Field2 - Field3; internal to the TMS module
A description of the automatic functions of this task, which guides how the template should be created. This field is populated when you select an automatic command.
Note: Because the Automatic tab is not displayed in the runtime task, the Name, Summary, and Notes fields should describe what the automatic task does.
Field 1, Field 2, Field 3
(If applicable) The names of these fields that the automatic action requires input from or output to; used with Add Fields, Copy Field, Set Decimal, Set Text, and Subtract Fields automatic commands
Information about how the automatic action should be implemented and how it should behave; used with the Set Text automatic command
Enter a number to more directly determine the value to be used in an action; used with the Set Decimal automatic command
Sets the AutomaticIntervalTime based on the interval defined, for example, 1. You use it in connection with the Unit field and the Check Approval automatic command. For more information, see Creating automatic tasks.
Sets the AutomaticIntervalTime based on the unit defined, for example, Days, Hours, or Minutes. For more information, see Creating automatic tasks.
Number of times this automatic task is retried in the Number of Retries field. This feature allows an automatic task to be retried if it returns with a Return Code Value of FAILURE.
This command represents an automatic task used for integration with automation system. When a change record is created from automation system, a task for automation job is created in Change Management. A filter is triggered, which pushes the task data to the Change Outbound interface form. For more information, see Change Outbound Interface.
This command is applicable to Operator Initiated Change use case. For more information, see in the BMC Change Automation online documentation.
This command represents an automatic task, which triggers a job in automation system. A filter is triggered, which pushes the task and target or CIs data to the Change Outbound interface form. There is an escalation running on the Outbound interface form, which sets the status to ReadyToExecute when the schedule date is reached. For more information, see Change Outbound Interface.This command is applicable to Change Initiated Job use case. For more information, see in the BMC Change Automation online documentation.
- Click Save.
- Continue setting up the task template by defining completion qualifications, as described in Defining qualifications for task completion.