Type - Define
Declaration
<AMTYPE CUSTOMTYPENAME="text"><PROPERTY TYPE="text" NAME="text" /></AMTYPE>
Description
Defines a custom object type or object types defined in a Web Service.
Practical usage
Usually used in conjunction with the Type - Create object activity in order to create an Automate Desktop object from the defined custom type or web service.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Custom type name | Text | No | (Empty) | CUSTOMTYPENAME=CustomType | If enabled, specifies the name of the custom type to be created. If this parameter is enabled, the Web Service Types parameter is ignored. |
Properti(es)
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Type | Text | No | (Empty) | TYPE="Company" | Specifies the property type of the custom type specified in the Custom Type parameter. This parameter is only available if the Custom Type parameter is selected in the General properties. Click Add to add a property type. To delete an existing property type/name, select the entry and click Delete. Additionally, items can be moved up / down the list by selecting the entry you wish to move and clicking the Move Up or Move Down button. |
Name | Text | No | (Empty) | NAME="address" | Specifies the name to correspond with the property type. This parameter is only available if the Custom Type parameter is selected in the General properties. |
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Description
This sample task defines the "CompanyName" type as "Fortra."
Copy
<AMTYPE CUSTOMTYPENAME="CompanyName"><PROPERTY TYPE="String" NAME="Fortra" /></AMTYPE>