This shows you the differences between two versions of the page.
|
bw2:error_handling [2021/02/05 16:56] akoehler created |
bw2:error_handling [2021/02/09 09:31] (current) akoehler |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| </ | </ | ||
| - | Error handling in Bizweaver allows the designer/ | + | Error handling in Bizweaver allows the designer/ |
| <WRAP center round important> | <WRAP center round important> | ||
| - | Third Wave highly recommends that you enable error handling on all workflows, both existing and new. Doing the basic setup as described in the “Workflow” section below will provide information to help ensure that your Bizweaver workflows are functioning as expected. | + | Third Wave highly recommends that you enable error handling on all workflows, both existing and new. Doing the basic setup described in the “Workflow” section below will provide information to help ensure that your Bizweaver workflows are functioning as expected. |
| </ | </ | ||
| Line 13: | Line 13: | ||
| ====== Before You Begin ====== | ====== Before You Begin ====== | ||
| - | Bizweaver error handling supports sending an email to designated persons when a problem is encountered. To do this at least one SMTP global connection is required. And in this connection a valid user must be defined using the “SMTP Credentials” option as shown below. This is a valid email user that can access the SMTP server and is used as the “From” user when an email is sent. | + | Bizweaver error handling supports sending an email to designated persons when a problem is encountered. To do this, at least one SMTP global connection is required. And in this connection, a valid user must be defined using the “SMTP Credentials” option as shown below. This is a valid email user that can access the SMTP server and is used as the “From” user when an email is sent. |
| - | {{:bw:eeimage1.png?384x242}} | + | {{ :bw2:bizweavererrorh1.png |}} |
| ====== Enabling Error Handling ====== | ====== Enabling Error Handling ====== | ||
| Line 21: | Line 21: | ||
| Error handling is enabled for a workflow by selecting the “Error Handling and Notifications” checkbox as shown here. | Error handling is enabled for a workflow by selecting the “Error Handling and Notifications” checkbox as shown here. | ||
| - | {{:bw:eeimage2.png?528x46}} | + | {{ :bw2:bizweavererrorh2.png |}} |
| **Step level error handling cannot be used unless this option is selected.** | **Step level error handling cannot be used unless this option is selected.** | ||
| Line 27: | Line 27: | ||
| ====== Workflow Level ====== | ====== Workflow Level ====== | ||
| - | {{:bw:eeimage3.png?384x324}} | + | {{ :bw2:bizweavererrorh3.png |}} |
| * Leave the " | * Leave the " | ||
| - | * These options only apply to Step-level reporting, but must be selected here to allow workflow level handling to function | + | * These options only apply to Step-level reporting but must be selected here to allow workflow level handling to function |
| * The section highlighted <color # | * The section highlighted <color # | ||
| * Select the desired SMTP connection from the drop-down list. | * Select the desired SMTP connection from the drop-down list. | ||
| Line 37: | Line 37: | ||
| * Separate multiple recipients with a semi-colon (user1@twbs.com**; | * Separate multiple recipients with a semi-colon (user1@twbs.com**; | ||
| * Define the email Content. | * Define the email Content. | ||
| - | * A default email layout at the workflow level is provided as shown in the image above. It should be adequate for most installations. | + | * A default email layout at the workflow level is provided, as shown in the image above. It should be adequate for most installations. |
| * Items in < … > are selected from the “Add Tags” drop-down list. This allows you to create your own message layout if you prefer. | * Items in < … > are selected from the “Add Tags” drop-down list. This allows you to create your own message layout if you prefer. | ||
| * The tag < | * The tag < | ||
| Line 45: | Line 45: | ||
| To access step level error handling options, click the >> link in the upper right corner of the step page. | To access step level error handling options, click the >> link in the upper right corner of the step page. | ||
| - | {{:bw:eeimage4.png?399x81}} | + | {{ :bw2:bizweavererrorh4.png |}} |
| - | A default email layout at the step level is provided as shown in the following image. | + | A default email layout at the step level is provided, as shown in the following image. |
| - | {{:bw:eeimage5.png?384x305}} | + | {{ :bw2:bizweavererrorh5.png |}} |
| * Select the error handling options as desired according to the description included at the workflow level. | * Select the error handling options as desired according to the description included at the workflow level. | ||
| Line 56: | Line 56: | ||
| * Separate multiple recipients with a semi-colon (user1@twbs.com**; | * Separate multiple recipients with a semi-colon (user1@twbs.com**; | ||
| * Define the email Content. | * Define the email Content. | ||
| - | * A default email layout at the workflow level is provided as shown in the image above. A default email layout at the workflow level is provided as shown in the image above. It should be adequate for most installations. | + | * A default email layout at the workflow level is provided, as shown in the image above. A default email layout at the workflow level is provided, as shown in the image above. It should be adequate for most installations. |
| * Items in < … > are selected from the “Add Tags” drop-down list. This allows you to create your own message layout if you prefer. | * Items in < … > are selected from the “Add Tags” drop-down list. This allows you to create your own message layout if you prefer. | ||
| Line 67: | Line 67: | ||
| ^**EEH**^**EN**^**Action** | ^**EEH**^**EN**^**Action** | ||
| |N |N | |N |N | ||
| - | |Y |N | + | |Y |N |
| - | |Y |Y | + | |Y |Y |
| | | | | ||
| Line 126: | Line 126: | ||
| ====== Error Handling & Decisions ====== | ====== Error Handling & Decisions ====== | ||
| - | The information from error handling can also be used in Decisions. The two key 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. | + | The information from error handling can also be used in Decisions. The two fundamental |
| - | {{:bw:eeimage6.png?576x89}} | + | {{ :bw2:bizweavererrorh6.png |}} |
| - | It might also be possible to use the contents of the Step Message, however it would likely need to pass through a VBScript step to parse out a specific value before the decision. | + | It might also be possible to use the Step Message |