Discussion:
[jboss-user] [jBPM] - Can't get Twitter service task to work when deployed via Guvnor
Andy McC
2013-04-11 19:55:53 UTC
Permalink
Andy McC [https://community.jboss.org/people/andymcc] created the discussion

"Can't get Twitter service task to work when deployed via Guvnor"

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

--------------------------------------------------------------
[My set up: Windows 7 and 8, jBPM-5.4.0.Final, Eclipse Helios]

This is probably another newbie issue, but I have a simple Twitter process that runs in Eclipse that I just can't get to run via Guvnor. (HTTP Status 500 window and the message "Could not find work item handler for Twitter")
Andy McC
2013-04-16 17:14:31 UTC
Permalink
Andy McC [https://community.jboss.org/people/andymcc] created the discussion

"Re: Can't get Twitter service task to work when deployed via Guvnor"

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

--------------------------------------------------------------
Resolved by creating standalone/configuration/session.template file and modifying the workItemHandlers group as follows:

workItemHandlers = [    "Human Task" : .....,
                                   "Service Task" : ....,
*"Twitter" : "new org.jbpm.process.workItem.twitter.TwitterHandler()"*]

NB The documentation at http://people.redhat.com/kverlaen/repository/Twitter/ http://people.redhat.com/kverlaen/repository/Twitter/ is slightly misleading. The that Twitter class is actually TwitterHandler not Twitter*WorkItem*Handler.
--------------------------------------------------------------

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

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