sendemailaction
This topic is part of the workflow SDF custom object documentation.
For information about developing workflow SDF custom objects, see Workflows as XML Definitions.
Feature Dependencies
-
WORKFLOW
Attributes
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
scriptid |
string |
Required |
This attribute value can be up to 40 characters long. The default value is ‘workflowaction’. |
Fields
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
sendertype |
single-select list |
Required |
For information about possible values, see workflowaction_sendertype. |
recipienttype |
single-select list |
Required |
For information about possible values, see workflowaction_recipienttype. |
sender |
string |
Required (conditionally) |
This field is mandatory when the sendertype value is equal to SPECIFIC.
Note:
Account-specific values are not supported by SDF. |
senderfield |
single-select list |
Required (conditionally) |
This field is mandatory when the sendertype value is equal to FIELD. This field accepts references to the following custom types: For information about other possible values, see generic_standard_field. |
recipient |
string |
Required (conditionally) |
This field is mandatory when the recipienttype value is equal to SPECIFIC.
Note:
Account-specific values are not supported by SDF. |
recipientemail |
string |
Required (conditionally) |
This field is mandatory when the recipienttype value is equal to ADDRESS. |
recipientfield |
single-select list |
Required (conditionally) |
This field is mandatory when the recipienttype value is equal to FIELD. This field accepts references to the following custom types: For information about other possible values, see generic_standard_field. |
template |
single-select list |
Required (conditionally) |
This field is mandatory when the usetemplate value is equal to T. For information about possible values, see generic_standard_template. |
isinactive |
boolean |
Optional |
The default value is F. |
senderjoinfield |
single-select list |
Optional |
This field accepts references to the following custom types: For information about other possible values, see generic_standard_field. |
recipientjoinfield |
single-select list |
Optional |
This field accepts references to the following custom types: For information about other possible values, see generic_standard_field. |
recipientccemail |
string |
Optional |
|
recipientbccemail |
string |
Optional |
|
usetemplate |
boolean |
Optional |
The default value is T. |
subject |
string |
Optional |
|
body |
string |
Optional |
|
includerecordlink |
boolean |
Optional |
The default value is F. |
attachmenttype |
single-select list |
Optional |
For information about possible values, see workflowaction_attachmenttype. |
attachmentfile |
filereference |
Optional |
|
attachmentjoinfield |
single-select list |
Optional |
This field accepts references to the following custom types: For information about other possible values, see generic_standard_field. |
attachmentfield |
single-select list |
Optional |
For information about possible values, see generic_standard_field. |
includetransaction |
boolean |
Optional |
The default value is F. |
includeformat |
single-select list |
Optional |
For information about possible values, see workflowaction_transtatementtype. |