You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We must reenable the Business Calendar capabilty for processes. Currently Business Calendars aren't available in the process environment and cannot be loaded. Additionally the actual BusinessCalendarImpl is using the wrong classloader to load the calendar.properties file.
In order to sort this out, we should make BusinessCalendar injectable in the ProcessConfig, so it can be later set into the process environment. We may need to have a BusinessCalendarProducer(quarkus/springboot) generated during the codegen (only if the calendar.properties is present in the project).
Then if the Calendar is correctly injected we should be able to get from the application configuraition when creating the DummyKnowledgeRuntime and set it into the Environment using the right key, so it will be available for the process engine.
The text was updated successfully, but these errors were encountered:
We must reenable the Business Calendar capabilty for processes. Currently Business Calendars aren't available in the process environment and cannot be loaded. Additionally the actual
BusinessCalendarImpl
is using the wrong classloader to load the calendar.properties file.In order to sort this out, we should make BusinessCalendar injectable in the ProcessConfig, so it can be later set into the process environment. We may need to have a
BusinessCalendarProducer
(quarkus/springboot) generated during the codegen (only if the calendar.properties is present in the project).Then if the Calendar is correctly injected we should be able to get from the application configuraition when creating the
DummyKnowledgeRuntime
and set it into theEnvironment
using the right key, so it will be available for the process engine.The text was updated successfully, but these errors were encountered: