Closed darenegade closed 5 months ago
Das Thema muss man vielleicht nochmal tiefer legen. Das ist aber eine gute Chance, um Logik zu Kapseln und besser zu testen
Hey team! Please add your planning poker estimate with Zenhub @darenegade @dominikhorn93 @simonhir @StephanStrehlerCGI
@dominikhorn93 Das wäre eventuell noch ein Thema für dich, wenn dir die Arbeit ausgeht
Hab das Thema von Dominik übernommen
MR #1406 leads to following error when starting processes (i.e. Example-All-Input-Fields, Usertask)
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.camunda.bpm.engine.ScriptEvaluationException: Unable to evaluate script while executing activity 'Event_StatusGestartetUndBeschreibungSetzen' in the process definition with id 'example-all-input-fields:38:f4ecc66b-eb46-11ee-801d-88899d5a525c':java.util.NoSuchElementException: No value present] with root cause
java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.orElseThrow(Optional.java:377)
at de.muenchen.oss.digiwf.process.instance.process.ProcessFunctions.setDescription(ProcessFunctions.java:54)
Is your feature request related to a problem? Please describe. Aktuell supportet die Plattform nur das Starten von Prozessen über die API oder per Kafka-Event. Timer-Events gehen zar grundsätzlich, aber das erfolgt nur Camunda intern und alle DigiWF-Meta-Daten werden nicht erzeugt (Config, Variablen, usw)
Describe the solution you'd like
Refactoring von
startInstance
, sodass für alle Prozess-Start-Logik ein EventListener greiftDescribe alternatives you've considered Spezifische Listener nur für Timer-Events -> doppelter Code
accenptance criteria
Additional context https://git.muenchen.de/digitalisierung/digiwf-support/-/issues/344 https://git.muenchen.de/digitalisierung/digiwf-support/-/issues/345 https://git.muenchen.de/digitalisierung/digiwf-support/-/issues/447