ASSOCIATE-REACTIVE-DEVELOPER practice question 1 of 35
When the event is mandatory, a Block event such as the Client Action must be specified to handle the event. Although it may be empty.
Full set: 262 questionsThe statement is correct. In Outsystems, a Block can communicate with its parent (a Screen or another Block) by triggering Events. When defining an Event within a Block, you can set its Is Mandatory property to 'Yes'. This enforces a contract requiring any consumer of the Block to provide a handler for that event. The handler is a Client Action within the parent's scope. If a handler is not defined for a mandatory event, Outsystems' Service Studio will report a validation error, preventing the application from being published. The platform allows this required Client Action handler to be empty (i.e., containing only a Start and an End node), which satisfies the compiler's requirement without needing to implement any specific logic.
The statement cannot be False because failing to define a handler for a mandatory event is a compile-time error in Service Studio. The platform's compiler explicitly requires that a Client Action be assigned as the handler for any Block event where Is Mandatory is set to 'Yes'.
1. Outsystems Official Documentation, "Create and use events in Blocks": In the section "Define an Event in a Block", the documentation for the Is Mandatory property states: "If you set Is Mandatory to Yes, you must define a handler for the Event in the parent Block or Screen." This directly confirms the requirement for a handler.
2. Outsystems Official Documentation, "Handling Events": The section "Handle an Event" illustrates the process of creating a handler. When a Block with a mandatory event is used, the developer must select "New Client Action" for the event's Handler property. The newly created action, which can be left empty, satisfies the requirement.
3. Outsystems Training Courseware, "Reactive UI Development 101": The official "Blocks and Events" module, part of the guided path for the Associate Reactive Developer certification, teaches this as a core concept. It explains that mandatory events create a strict contract between a Block and its parent, and the parent is obligated to create a handler action.
Source: https://www.outsystems.com/training/courses/126/reactive-ui-development-101/, Module: "Blocks and Events".
Keep practicing
Take the free ASSOCIATE-REACTIVE-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-REACTIVE-DEVELOPER practice questions
- Question 2Considering the Function property in Client Actions, which of the following options is co…
- Question 3Which event is needed if we do some logic over the result such as checking if it is empty?
- Question 4The SQL Query only allows executing SELECT statements
- Question 5The order of the Entities in the join does not matter.
- Question 6The list of values displayed on the Combo Box widget can be a combination of Entity and S…
- Question 7Entity Identifiers can be simple primary keys or composite keys
