This Specification Macro Task creates a New Entry in Salesforce for a Named Entity.
|Title||Changes the Title (not the name) of the task.|
|Entity Name||The name of the entity (for example "account").|
Data for custom fields in the format CustField1=Custvalue1|CustField2=CustValue2 (Required).
For custom fields, created in SalesForce, the end of the field name is to be suffixed with __c.
Note - there are two underscores before the c.
|Return Constant||The name of the constant that the new Account ID will be posted to.|
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
|Property Name||Example Rule||Example Result||Meaning|
|Entity Name||"contact"||contact||The new entry will be created on the contact entity, in SalesForce.|
|Custom Data||"lastname=Smith"||lastname=Smith||The field lastname will be populated with Smith.
Custom field suffix
Please see the caution for the Custom Data property in the Properties table above, regarding using a suffix for Custom Fields.
|Return Constant||DWConstantCreateNewEntityReport||DWConstantCreateNewEntityReport||This is the name of the Constant that the Task will report the new Entities ID number.|
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success with Warnings
Failed (one of the following occurred)
Record ID - the task will return the Record ID of the entity that has been created or updated.