RED-9349 - Add possibility to log stuff in the rules #446

Merged
andrei.isvoran.ext merged 6 commits from RED-9349-rule-log into master 2024-06-26 10:17:59 +02:00
Showing only changes of commit c6e2456945 - Show all commits

View File

@ -67,6 +67,7 @@ public class ComponentDroolsExecutionService {
kieSession.setGlobal("componentCreationService", componentCreationService);
kieSession.setGlobal("logger", logger);
kieSession.setGlobal("context", context);
if (hasComponentMappingServiceGlobal(kieSession)) {
kieSession.setGlobal(COMPONENT_MAPPING_SERVICE_GLOBAL, componentMappingService);