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&...]