Skip to Main Content
Jedox Ideas

Let us know how we can make Jedox even better!

Status Future consideration
Workspace Jedox Platform
Created by Guest
Created on Nov 23, 2022

Add log information to E-mail Templates in the Scheduler

I'd like to see some log information in my E-mail from Scheduler, i.e. i'd like to see any warnings executing my job. I can not find a template/variable for that in https://knowledgebase.jedox.com/jedox/maintenance/scheduler-email-templates.htm

I can get the desired result with a groovy job, but it would be very helpful to have this build in. Attached you find an example mail shot from a groovy job including my warnings.


Groovy:

state = API.executeJob('<<YourJob>>');


//retrieve execution info

id = state.getExecutionId();

warnings = state.getWarnings();

errors = state.getErrors();

status = state.getStatus();

log = state.getLog('WARN');