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

This commit is contained in:
Andrei Isvoran 2024-06-26 10:55:22 +03:00
parent c887cc3b46
commit c6e2456945

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);