[
https://jira.jboss.org/jira/browse/JBESB-2239?page=com.atlassian.jira.plu...
]
Aaron Pestel commented on JBESB-2239:
-------------------------------------
Would seem that the BpmProcessor action itself shows the need for returning a
token/process id. It seems the other BpmProcessor commands (SignalCommand,
CancelProcessInstanceCommand, and setProcessInstanceVariables) need to specify a token ID
or process instance ID
(
http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.GA/html-single/Pr...).
If someone uses the ESB to kick off a process instance and they also want to use the ESB
to be able to cancel that same process. If the ESB client that kicks off the process
doesn't get the process ID returned, it will be difficult for that client to cancel
the process that he just created. The non-create/start commands on BpmProcessor seem
pretty useless if the create/start commands can't return a process instance id or
token id.
In addition to this is the even more common case I run into where the customer (NAVTEQ
most recently) want to use BPM for service orchestration. So, client invokes a service on
the ESB and that ESB service needs to synchronously kick off the orchestration of other
services, aggregate a result, and return it to the original client.
I've been telling folks to just not even use BpmProcessor and to implement their own
custom action instead that invokes/controls the BPM process. I see many more real life
use cases for a synchronous BpmProcessor than an asynchronous BpmProcessor.
StartProcessInstanceCommand: Return token id/process instance id
----------------------------------------------------------------
Key: JBESB-2239
URL:
https://jira.jboss.org/jira/browse/JBESB-2239
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Process flow
Affects Versions: 4.4 CP1
Reporter: Burr Sutter
A very common request is to have the BpmProcessor action return a token/process instance
id. Perhaps in the
<action name="start_a_new_process_instance"
class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor">
<property name="command"
value="StartProcessInstanceCommand" />
<property name="process-definition-name"
value="bpm_orchestration3Process"/>
<property name="key" value="businessKey"/>
<property name="esbToBpmVars">
<mapping esb="BODY_CONTENT" bpm="theBody"
/>
<mapping esb="contentsAsString"
bpm="theData" />
</property>
</action>
Perhaps we could do that as variable mapping.
It has also be requested that we clean up the callback EPR XML. It is a rather large
chunk of information currently
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira