[jboss-user] [jBPM] - Domain Service task default work item handler is not working if added through META-INF/*.wid file

vinayak Bhadage do-not-reply at jboss.com
Wed Feb 27 08:13:53 EST 2013


vinayak Bhadage [https://community.jboss.org/people/vinayakpict] created the discussion

"Domain Service task default work item handler is not working if added through META-INF/*.wid file"

To view the discussion, visit: https://community.jboss.org/message/799865#799865

--------------------------------------------------------------
Hi ,

In JBPM5, I am using domain service task and also created work item handler for the same.
If at the time of creating knowledge session or before starting the process I have registered the custome work item handler in ksession.
then work item handler is executed perfectly.

Now from drool rule, want to start the process, in that case I have defined SAMPLE.wid file added in drools.rulebase.conf.
the wid file as below:

import org.drools.process.core.datatype.impl.type.StringDataType;

[
   [
    "name" : "SampleTask",
    "parameters" : [
              "name" : new StringDataType()
    ],
    "displayName" : "SampleTask",
    "icon" : "",
    "defaultHandler" : "com.sample.SampleTaskWorkItemHandler",
    "dependencies" : [
    ]
  ]
]


I this case work item handler is not found to ksession.

Please let me know that this approach will work. 
Can jbpm5 process engine load the deafault handler mentioned in *.wid?

I have just started to learn about JBPM5. Please help me to resolve this issue.

Thanks & regards,
-vinayak
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/799865#799865]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130227/82977808/attachment.html 


More information about the jboss-user mailing list