Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Error Intermediate Event is used to redirect process flow execution to an alternate path in case of failure of any activity during process flow execution. To understand the use of Error Intermediate Event, consider the following process flow:
Image Removed
Image Added

In this process flow, data from a text file is converted to an excel file using schema layout and mapping activities. You may want to be notified if the mapping activity fails during process flow execution.

To handle this situation, you can attach Error Intermediate Event with the mapping activity so that in case mapping activity fails, a notification activity is executed and sends an email to the specified email address. Use of Error Intermediate Event is displayed in the following figure.

Image RemovedImage Added

To use Error Intermediate Event:

  1. In Web Process Designer, in Canvas areathe Process Designer, click the activity with in which you want to attach the event and select Append select Options Image Added icon from the Context Pad and then select Add Error Intermediate Event.



    Image Removed
    This attaches the Intermediate Event to the selected activity.

    Image RemovedImage Added

  2. Drag another the Mail notification activity to be executed, in case of failure of the mapping activity, to the Graph Canvas area.

    Image RemovedImage Added

  3. Connect the Error Intermediate Event to the notification activity, for example, Mail Notification activity and then Mail Notification activity to the End Event.
    Image Removed
    Image Added

    Info
    While connecting Error Intermediate Event with Mail Notification activity, please ensure that you are connecting Error Event with Mail Notification not the Mapping activity with Mail Notification.