Type - Define

Declaration

<AMTYPE CUSTOMTYPENAME="text"><PROPERTY TYPE="text" NAME="text" /></AMTYPE>

Related Topics   

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 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.

Description

Error Causes

On Error

Example

NOTE:
  • The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
  • Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.

Description

This sample task defines the "CompanyName" type as "HelpSystems."

Copy
<AMTYPE CUSTOMTYPENAME="CompanyName"><PROPERTY TYPE="String" NAME="Helpsystems" /></AMTYPE>