Context accessible via
ctx property is typically operated with
ContextUtils class. This class is focused mostly on communication with user in the form of exceptions and messages (event)s.
ContextUtils also automatically applies localization as common functions for dialog and execution context.
To get access to working directory of the DPU, you may use:
ctx.getExecMasterContext().getDpuContext().getWorkingDir(); Working directory may be used to store temporary files needed during execution of the DPU instance.
DPU Exceptions - how to inform that something was wrong?