Official Docs: GlideDBFunctionCaseBuilder
The Scoped GlideDBFunctionCaseBuilder provides a builder API for creating platform case statements
otherwise
Add a result parameter to the current case statement
build
Return the completed case statement
then
Add a result parameter to the current case statement
when
Add a condition parameter to the case statement
whenCompare
Add a comparison condition parameter to the case statement
whenEqual
Add an equality condition parameter to the case statement