Define Type Action


<AMDEFINETYPE CUSTOMTYPENAME="text"><Property Type="String" Name="CompanyName" /><Property Type="String" Name="CompanyAddress" /><Property Type="String" Name="CompanyPhoneNumber" /></AMDEFINETYPE>

See Also

Create Object Action, Create Variable Action, Execute Web Service Action


Defines a custom object type or object types defined in a Web Service.

Practical Usage

Usually used in conjunction with the Create Object action in order to create an Automate Object from the defined custom type or web service.


General Tab

Custom Type

Text, Required - Default (Empty)

If selected, specifies the name of the custom type to be created.

Web Service Types

Text, Required - Default (Empty)

If selected, specifies the WSDL URL or a file location to a WSDL file in which to retrieve the object type(s) from. If this parameter is selected, the Custom Type parameter is ignored.


Property Tab


Text, Required - Default
MARKUP: TYPE="Company"

Specifies the property type of the custom type specified in the Custom Type parameter. Click Add to add a new property type then click the drop-down arrow in the Type field to select the desired property type. Only available if the Custom Type parameter is selected under the General tab.

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.


Text, Required - Default
MARKUP: NAME="address"

Specifies the name to correspond with the property type. Only available if the Custom Type parameter is selected under the General tab.


Custom Description

This action includes the Description tab for entering a custom step description.

More on setting custom step description

Standard Error Handling Options

This action also includes the standard Error Causes and On Error failure handling options/tabs.

More on Error Handling Options

Variables and Expressions

All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.

More on variables
More on expressions

More on the expression builder



NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.