[jboss-user] [jBPM] - Re: How to make a process instance go on with jBPM5?

javafreeker do-not-reply at jboss.com
Mon Jun 24 11:35:49 EDT 2013


javafreeker [https://community.jboss.org/people/javafreeker] created the discussion

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

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

--------------------------------------------------------------
Hi Esteban

Could you please share a link with examples related to your post

"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.
 "

Thanks
-SD
--------------------------------------------------------------

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

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/20130624/d724fce1/attachment-0001.html 


More information about the jboss-user mailing list