Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OutSystems Associate-Reactive-Developer Exam - Topic 2 Question 58 Discussion

Consider the following Server Action. What happens if the GetEmployeeById (https://drive.google.com/file/d/1Q5JfXEu9L5OsY017HLrMbI8ZIsRl8BJ3/view?usp=sharing) Aggregate does not return any record?
B) The RecordNotFound flow is executed.
A) The DatabaseException flow is executed.
C) No exception flow is executed.
D) The module's global exception handler is executed.

OutSystems Associate-Reactive-Developer Exam - Topic 2 Question 58 Discussion

Actual exam question for OutSystems's Associate-Reactive-Developer exam
Question #: 58
Topic #: 2
[All Associate-Reactive-Developer Questions]

Consider the following Server Action. What happens if the GetEmployeeById (https://drive.google.com/file/d/1Q5JfXEu9L5OsY017HLrMbI8ZIsRl8BJ3/view?usp=sharing) Aggregate does not return any record?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Viola
6 days ago
C feels off. No exception flow? That’s unlikely.
upvoted 0 times
...
Dallas
11 days ago
I’m leaning towards A. DatabaseException could trigger.
upvoted 0 times
...
Salome
16 days ago
I agree, B seems right. No record means not found.
upvoted 0 times
...
Amber
21 days ago
I think it's B. RecordNotFound flow makes sense.
upvoted 0 times
...
Alba
26 days ago
D is a possibility, but I lean towards B. It’s more specific.
upvoted 0 times
...
Mari
1 month ago
C seems unlikely. There should be a response for no records.
upvoted 0 times
...
Joye
1 month ago
I feel like A could be right too. A DatabaseException sounds serious.
upvoted 0 times
...
Ty
1 month ago
I think B is correct. RecordNotFound makes sense if no employee is found.
upvoted 0 times
...
Dannie
2 months ago
D is a possibility, but I lean towards B. RecordNotFound is clearer.
upvoted 0 times
...
Lyda
2 months ago
C seems unlikely. There should be a response for no records.
upvoted 0 times
...
Ben
2 months ago
I feel like A could be right too. DatabaseException might trigger.
upvoted 0 times
...
Moira
2 months ago
I think B is correct. RecordNotFound makes sense.
upvoted 0 times
...
Rodolfo
2 months ago
Definitely B), no doubt about it.
upvoted 0 times
...
Nickolas
2 months ago
Wait, really? I didn't expect that!
upvoted 0 times
...
Valene
4 months ago
Seems like C) could be possible too.
upvoted 0 times
...
Farrah
4 months ago
I thought it would be A) instead.
upvoted 0 times
...
Rebecka
4 months ago
B) The RecordNotFound flow is executed.
upvoted 0 times
...
Anglea
4 months ago
C) No exception flow is executed sounds wrong.
upvoted 0 times
...
Rodolfo
5 months ago
Wait, are we sure about that? Seems odd.
upvoted 0 times
...
Ramonita
5 months ago
Definitely B, no doubt about it!
upvoted 0 times
...
Lizette
5 months ago
I thought it would be A) DatabaseException.
upvoted 0 times
...
Blair
5 months ago
B) The RecordNotFound flow is executed.
upvoted 0 times
...
Dorthy
5 months ago
I’m leaning towards option B, but I have a nagging feeling that it could also be C. I need to double-check my notes on this.
upvoted 0 times
...
Alfred
5 months ago
I feel like the global exception handler would only be executed for more serious errors, not just for a missing record.
upvoted 0 times
...
Milly
6 months ago
I remember practicing a similar question where an exception flow was involved, but I can't recall if it was specifically for missing records.
upvoted 0 times
...
Olen
6 months ago
I think if the GetEmployeeById doesn't find a record, it might trigger the RecordNotFound flow, but I'm not entirely sure.
upvoted 0 times
...

Save Cancel