This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
bw2:notifications [2021/07/19 16:58] akoehler created |
bw2:notifications [2023/12/19 14:50] (current) wgates [Error Handeling & Decisions] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Introduction to Notifications ====== | ====== Introduction to Notifications ====== | ||
| + | <WRAP center round tip 60%> | ||
| + | Notifications were introduced as Error Handling in version 2.2 of Bizweaver. | ||
| + | </ | ||
| - | Notifications in Bizweaver allow the designer to handle notification conditions in a workflow easily. | + | Notifications in Bizweaver allow the designer to handle notification conditions in a workflow easily. |
| - | + | ||
| - | Types of Notifications | + | |
| - | + | ||
| - | * **On Start:** an email notification will be sent when a workflow starts. | + | |
| - | * **On Completion: | + | |
| - | * **On Error:** an email notification will be sent when a workflow encounters an error that stops the workflow. | + | |
| - | + | ||
| - | Selectable options | + | |
| - | * **Disable during Test Run:** This will disable all notifications when selected during a test run. | ||
| - | * **Attach error log to email:** This will attach the workflow log to the error email. | ||
| - | * If the attachment is too large for an email (25MB) the attachment will be compressed and attached to the email as a zip file. | ||
| - | * If the attachment is still too large in size it the email will indicate this. | ||
| <WRAP center round important> | <WRAP center round important> | ||
| Line 26: | Line 17: | ||
| {{ : | {{ : | ||
| + | |||
| + | ====== Continue on Error ====== | ||
| + | |||
| + | Continue on Error has not been moved to the list view of a workflow. Please click **// | ||
| ====== Enabling Notifications ====== | ====== Enabling Notifications ====== | ||
| Line 38: | Line 33: | ||
| * Select the desired types of notifications | * Select the desired types of notifications | ||
| - | | + | * **On Start:** an email notification will be sent when a workflow starts. |
| + | * **On Completion: | ||
| + | * **On Error:** an email notification will be sent when a workflow encounters an error that stops the workflow. | ||
| + | | ||
| + | * **Disable during | ||
| + | * **Attach error log to email:** When an error has been encountered, | ||
| + | * If the log is greater than 25MB, it will be compressed | ||
| + | * If the log is still greater than 25MB after compression, | ||
| * Select the desired SMTP connection from the drop-down list. | * Select the desired SMTP connection from the drop-down list. | ||
| + | * **A SMTP connection is required.** | ||
| * Enter one or more email addresses for persons to be notified. | * Enter one or more email addresses for persons to be notified. | ||
| * **At least one recipient is required**. | * **At least one recipient is required**. | ||
| * Separate multiple recipients with a semi-colon (user1@twbs.com**; | * Separate multiple recipients with a semi-colon (user1@twbs.com**; | ||
| - | * A type-ahead search | + | * A type-ahead search |
| * {{ : | * {{ : | ||
| * Define the email Content. | * Define the email Content. | ||
| - | * This will be added to the system-generated | + | * Bizweaver |
| + | * This is not required if no additional content is required other than the system-generated message. | ||
| ====== Sample Output ====== | ====== Sample Output ====== | ||
| Line 71: | Line 75: | ||
| Error found in Bizweaver workflow Add Order to SAP (ID 93) | Error found in Bizweaver workflow Add Order to SAP (ID 93) | ||
| Date: 6/16/2021 at 4:23 PM | Date: 6/16/2021 at 4:23 PM | ||
| + | |||
| This is custom Content | This is custom Content | ||
| + | |||
| Details | Details | ||
| ----------- | ----------- | ||
| Line 99: | Line 105: | ||
| Error Number: | Error Number: | ||
| </ | </ | ||
| - | ====== Error Handeling & Decisions ====== | ||
| - | |||
| - | The information from error handling can also be used in Decisions. The two fundamental values are for “Step Status.” The values are True (no error) and False (error encountered). The only thing to remember is to define the values as Boolean rather than Alphanumeric in the decision expression. | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | It might also be possible to use the Step Message contents; however, it would likely need to pass through a VBScript step to parse out a specific value before the decision. | ||