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.

eventtypes

multi-select list

Optional

You can specify multiple values by separating each value with a pipe (|) symbol.

For information about possible values, see workflowaction_eventtype.

contexttypes

multi-select list

Optional

You can specify multiple values by separating each value with a pipe (|) symbol.

For information about possible values, see execution_context.

conditionsavedsearch

single-select list

Optional

This field accepts references to the savedsearch custom type.

scheduledelay

integer

Optional

 

scheduletimeofday

time

Optional

 

schedulerecurrence

integer

Optional

 

scheduletimeunit

single-select list

Optional

For information about possible values, see workflow_timeunit.

schedulemode

single-select list

Optional

For information about possible values, see workflowaction_radioschedulemode.

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.

Structured Fields

Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported:

General Notices