[jboss-user] [jBPM] - Re: How to access a processInstance within a work item

Tobias Wittur do-not-reply at jboss.com
Mon Sep 19 21:57:12 EDT 2011


Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion

"Re: How to access a processInstance within a work item"

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

--------------------------------------------------------------
In addition to the above, I just tried:

I added this to the process definition:
xmlns:tns=" http://eclipse.org/bpel/correlwait http://eclipse.org/bpel/correlwait"

I changed my xml to this:
> <bpmn2:intermediateThrowEvent tns:name="twitterTaskHandler" id="_1246A3A8-08AE-4FEC-AEDB-731A233E28CE" name="Update Twitter Status (throw message)">
>   <bpmn2:incoming>_BC5261CD-860C-4979-A045-AE209C41780D</bpmn2:incoming>
>   <bpmn2:outgoing>_3E572AF9-62AA-4D13-B0E7-BD1A3B893C80</bpmn2:outgoing>
>   <bpmn2:dataInput id="_1246A3A8-08AE-4FEC-AEDB-731A233E28CE_Parameter" name="Parameter"/>
>   <bpmn2:dataInputAssociation id="_amcjQ-J1EeC2tu7nt8W9eg">
>     <bpmn2:sourceRef>x</bpmn2:sourceRef>
>     <bpmn2:targetRef>_1246A3A8-08AE-4FEC-AEDB-731A233E28CE_Parameter</bpmn2:targetRef>
>   </bpmn2:dataInputAssociation>
>   <bpmn2:inputSet id="_amcjQuJ1EeC2tu7nt8W9eg">
>     <bpmn2:dataInputRefs>_1246A3A8-08AE-4FEC-AEDB-731A233E28CE_Parameter</bpmn2:dataInputRefs>
>   </bpmn2:inputSet>
>   <bpmn2:messageEventDefinition id="_amcjROJ1EeC2tu7nt8W9eg" drools:msgref="twitterProductLink" messageRef="twitterProductLink"/>
> </bpmn2:intermediateThrowEvent>

However, it still executes the standard send task.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110919/2ecd372f/attachment.html 


More information about the jboss-user mailing list