JEF provides a new logger object to add messages to job history. The ActionExecutorLogger lets you send Flex Events against the running job. The message will be added by Flex Enterprise to the job context.

The following options are possible using the available actionExecutorLogger object in the ActionExecutor:
  • actionExecutorLogger.warning("message");
  • actionExecutorLogger.error("message");
  • actionExecutorLogger.error("message", new RuntimeException("error"));
Note: This is similar to and similar functions available from the Flex groovy script SDK.