Oracle Global Human Resources Cloud Payroll Implementation Specialist — Question 27
You are working on notifications in a package and you must send an email containing an error message in case a Package step fails.
Which odiRef method do you use to access the error message? (Choose the best answer.)
Answer options
- A. odiRef.getSession()
- B. odiRef.getInfo()
- C. odiRef.getPrevStepLog()
- D. odiRef.getStep()
Correct answer: B
Explanation
The correct answer is B, as the odiRef.getInfo() method is specifically designed to provide information about the session, including error messages. Options A and D do not directly provide error details, while C focuses on previous step logs, which may not contain the current error message.