Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: How to make a process instance go on with jBPM5?"

To view the discussion, visit: http://community.jboss.org/message/600500#600500

--------------------------------------------------------------
Remember that you will need to make an external mechanism to hanlde the result 
of async calls. Inside the WorkItemHandler you can get the workItem Id. Two (of 
the probably infinite) options that you have are:
1. Pass the id (along with the session Id) to the external system. The external 
system, when finishes, can use those values to perform a call to your system 
and complete the work item.
2. Create a complete isolated mechanism for handling async calls to external 
systems. In this scenario, you could call the external system on your WorkItem 
Handler and then notify this third system (the isolated system I have mentioned 
before) that a new "task" is running. When the external system completes its 
work, it notifies this to the same third system. When a task is completed, the 
third system will notify your system about it.

Best Regards,
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to