To add commands to object types:
From the Workbench shortcut bar, select Deployment Mgmt > Object Types.
The Object Type Workbench opens.
Open an object type.
The Object Type window opens.
Click the Commands tab.
Click New Cmd.
The New Command window opens.
Complete the fields in the New Command window, as follows.
A simple name for the command.
A condition that determines whether the steps for the command are run or not. For more information, see Command Conditions.
A description of the command.
The amount of time the command can run before its process is terminated. This mechanism is used to abort commands that are hanging or taking an abnormal amount of time to run.
Indicates whether the command is enabled for execution.
The Commands tab lists the new command.