Table of contents


Official Content

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

Symbol

image_20251212151334_1_png

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.

image_20251212163848_1_png

This is a code example to force the error on Task 'A': 

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

 

See Also

Signal Event
Timer Event
Conditional Event




 
Last update: December 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant