Error Intermediate Event in BPD

Official Content
This documentation is valid for:

For managing error occurrences during the execution of a certain activity or at a certain point of a process flow.

Symbol

BPD Intermediate Event Error

Description

This event can only be associated with one activity and must lead to an alternative path when it captures an error.

Scope

Objects: Business Process Diagram

Example

This case shows an Error Intermediate Event associated with task 'A'. 

When the error occurs (Code = 1), the task 'B' will be executed, otherwise, the process is finished.

ScreenShot2018-06-06at4_04_00PM_png

This is an example code to foce the error on Task 'A': 

Event 'Error'
    &WorkflowContext.Workitem.ThrowError('1')
    commit
    return    
Endevent

 

See Also

Signal Event
Timer Event
Conditional Event