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, 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.
Property Name | Description |
---|---|
Emails | The 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. |
Title | Changes the Title (not the name) of the task. |
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.
Output Name | Description |
---|---|
Released Emails | This returns a pipebar (|) delimited list of all Documents that were successfully released. |
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
Success with Warnings
Failed (one of the following occurred)
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.
Documents |
---|
|
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Emails | "Order Confirmation Email" | Order Confirmation Email | The Name of the Email to be Released |
Emails | "*" | Order Confirmation Email|Manufacturing Department Alert Email|Finance Department Alert Email | The Names of the Emails to be Released |
Emails | "Order Confirmation Email|Finance Department Alert Email" | Order Confirmation Email|Finance Department Alert Email | The Names of the Emails to be Released |
The Output results for the examples would be:
Output | Output Value |
---|---|
Released Emails | Order Confirmation Email |
Released Emails | Order Confirmation Email|Manufacturing Department Alert Email|Finance Department Alert Email |
Released Emails | Order Confirmation Email|Finance Department Alert Email |
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.