Create Object Action

Declaration

<AMCREATEOBJECT TYPENAME="text" RESULTSTRUCTURE="text"><Property Name="text" Value="text" /></AMCREATEOBJECT>

See Also

Define Type Action, Create Variable Action, Execute Web Service Action

Description

Creates an Automate Object from the defined custom type or web service.

Practical Usage

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

Parameters

General Tab

Type Name

Text, Required
MARKUP: TYPENAME="CustomType"

Specifies the type name in which to create an object from. Click the Load Properties button to populate this field with existing defined custom types.

Object Name

Text, Required
MARKUP: RESULTSTRUCTURE="ObjectName"

Specifies the name of the object to create.

 

Property Tab

Name

Text, Required  
MARKUP: NAME="String"

Specifies the property name(s) of the object to create

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.

Value

Text, Required  
MARKUP: VALUE="ValueName"

Specifies the property value(s) of the object to be created.

 

Notes

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

Example

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

<AMCREATEOBJECT TYPENAME="ComapanyAddress" RESULTSTRUCTURE="d"><Property Name="addr.Street" Value="Here" /></AMCREATEOBJECT>