This Specification Macro Task creates a New Attachment in SalesForce.
|Title||Changes the Title (not the name) of the task.|
|File Name||The Full File Path to the file including the file name and extension.|
|Entity ID||The Id of the entity (Account, Contact etc) to which the Attachment will be linked.|
Data for custom fields in the format CustField1=Custvalue1|CustField2=CustValue2 (This is an optional field as it is not always required).
For custom fields that you have created in SalesForce you need to append the end of the field name with two _s and a c like so '__c'
|Return Constant||The name of the Constant that the new Attachment 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|
|File Name||"C:\MyDocuments\Images\TeamPicture.jpg"||C:\MyDocuments\Images\TeamPicture.jpg||This is the Full File Path for the file you want to attach to the Entity including file name and extension.|
|Entity ID||"0011t000003krq7AAA"||0011t000003krq7AAA||This is the ID number for the Entity that you want to attach the file to.|
This will populate the custom field Version with 2.
If you are using a custom field that you have added in SalesForce make sure you follow the field name with two _s followed by c like the example above.
|Reporting Constant||"DWConstantCreateNewAttachmentReport"||DWConstantCreateNewAttachmentReport||This is the name of the Constant that the Task will report back to with the newly created Id for the Attachment that has just been added to the Entity.|