[jboss-user] [jBPM] - HumanTask HostName

Balaji Subramaniam do-not-reply at jboss.com
Mon Mar 18 09:38:17 EDT 2013


Balaji Subramaniam [https://community.jboss.org/people/balajiora] created the discussion

"HumanTask HostName"

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

--------------------------------------------------------------
Using JBPM API's I am able to start the human workflow process.  To retrieve the process result, I am using the below code snippet.

       <code>
       TaskClient taskClient = new TaskClient(new HornetQTaskClientConnector(
                "client 1", new HornetQTaskClientHandler(
                        SystemEventListenerFactory.getSystemEventListener())));

        taskClient.connect("localhost", 19191);

        System.out.println("Task Connected..");
        setUserGroup();
        BlockingTaskSummaryResponseHandler taskSummaryResponseHandler = new BlockingTaskSummaryResponseHandler();
        taskClient.getTasksAssignedAsPotentialOwner(userId, "en-UK",
                taskSummaryResponseHandler);

        List<TaskSummary> allTasks = taskSummaryResponseHandler.getResults();
       </code>

If I change the localhost to my system host name,  It's not working.  Could you please suggest me the solution?

Balaji S
--------------------------------------------------------------

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

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/20130318/6d7d6522/attachment.html 


More information about the jboss-user mailing list