Home Search

DriveWorks Pro 21
Release Emails

Send Feedback

Release Email(s)

The Release Emails task will release any or all of the required Email outputs as defined in the Stage 4: Output Rules > Documents - Files.

An example of this in use can be seen in the Default Specification Flow.

It is available on the Enter State event on both the Pending and Completed States.

The task in the default specification flow also incorporates a condition that checks the Setting: Document Generation Behavior

Emails with attachments

Emails, with attachments, will be released but not sent until all attachments are available.

Emails can be released at any suitable point in the Specification Flow, but will only be processed once attachments are present with the specified name and path.

Properties

Property NameDescription
EmailsThe name of the Emails to release, as defined when the Email was created in Stage 4: Output Rules > Documents - Files. Multiple Emails can be separated by using a pipebar (|) delimited list.

This defaults to * when the Task is added.

TitleChanges the Title (not the name) of the task.

Outputs

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 Specification Flow.

Data Outputs

Output NameDescription
Released EmailsThis returns a pipebar (|) delimited list of all Documents that were successfully released.

Status Outputs

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

  • All emails released successfully.

Success with Warnings

  • Some emails released successfully, but some failed.

Failed (one of the following occurred)

  • All emails failed to release.
  • No emails specified.
  • General error - see Specification report for more information.

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Example Data

Documents
  • Order Confirmation Email
  • Manufacturing Department Alert Email
  • Finance Department Alert Email

Examples

Property NameExample RuleExample ResultMeaning
Emails"Order Confirmation Email"Order Confirmation EmailThe Name of the Email to be Released
Emails"*"Order Confirmation Email|Manufacturing Department Alert Email|Finance Department Alert EmailThe Names of the Emails to be Released
Emails"Order Confirmation Email|Finance Department Alert Email"Order Confirmation Email|Finance Department Alert EmailThe Names of the Emails to be Released

The Output results for the examples would be:

OutputOutput Value
Released EmailsOrder Confirmation Email
Released EmailsOrder Confirmation Email|Manufacturing Department Alert Email|Finance Department Alert Email
Released EmailsOrder Confirmation Email|Finance Department Alert Email

Using the Task in a Specification Macro

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.