Using Exception Handling FAQS

1. What is exception handling in a Load Plan?

  • Exception handling in a Load Plan involves associating an Exception Step with a regular Load Plan step. This defines the behavior when an error or failure occurs during the execution of that step. The Exception Step is triggered to manage the error.

2. Which steps can have exception handling?

  • Exception handling can be defined for all Load Plan steps except for When and Else steps.

3. How do I define the timeout for a Load Plan step?

  • In the Exception Handling section of the Property Inspector, you can set a Timeout (s) value to specify the maximum allowed runtime for a step. If the step exceeds the timeout, it will be marked as an error, and the Exception Step (if defined) will be triggered.

4. What does a Timeout of 0 mean?

  • A Timeout value of 0 means that the step has an infinite timeout, and the step will not time out under any circumstances.

5. What happens when an exception step is executed?

  • The behavior depends on the Exception Behavior setting:
    • Run Exception and Raise: Runs the exception step and raises the exception to the parent step, causing the parent to fail.
    • Run Exception and Ignore: Runs the exception step and ignores the exception, notifying the parent step that it completed successfully. However, if the exception step itself fails, the parent will be notified of the failure.

6. Can an exception step be raised by a failed exception step?

  • No, an exception step cannot raise another exception step if it fails. Exception steps are independent and do not cascade.

7. What is the Max Error Child Count for Parallel steps?

  • The Max Error Child Count defines the maximum number of child steps that can fail before the parallel step is considered failed. If this count is exceeded, the parallel step itself will fail.

8. How does the Restart Type parameter affect parallel steps?

  • The Restart Type parameter determines the behavior of child steps after a failure:
    • Restart from failed children: The Load Plan waits for all child sessions (both running and waiting to run) to finish before raising an error to the parent step.
    • Restart all children: All running child sessions are stopped, and no new child sessions are started before the error is raised to the parent step.

9. Can I modify the exception handling for parallel steps?

  • Yes, for Parallel steps, you can configure the Max Error Child Count and choose the appropriate Restart Type to control how the failure of child steps is handled.

10. Where can I find the Exception steps for selection?

  • The available Exception steps for selection are the ones that have been created and defined in the Exceptions tab of the Load Plan Editor.

No comments:

Post a Comment