I'm now using deploymentservice to startprocess and dynamically deploy new bpmn files. how can I register workitemhandler? I tried using ksession ,which is created by deploymentservice, to register workitemhandler. Now I put a timer event in reusable subprocess. After timer event is triggered, I got the following error.
Caused by: org.drools.core.WorkItemHandlerNotFoundException: Could not find work item handler for xx
The workitemhandler is missing after the timer event. How can I solve this problem? Error log is attached. THX!
use deployment descriptors where you can define what handlers should be registered. See docs here.
HTH