[jboss-user] [jBPM] - Re: Unclear on how to get a Process param into my WorkItem
olddave
do-not-reply at jboss.com
Thu Aug 11 12:58:05 EDT 2011
olddave [http://community.jboss.org/people/olddave] created the discussion
"Re: Unclear on how to get a Process param into my WorkItem"
To view the discussion, visit: http://community.jboss.org/message/620671#620671
--------------------------------------------------------------
I cannot really share the full xml at the moment. But here is the generate xml when I use Process parameter workflowContext with variable com.example.tdm.workflow.AClass and the WorkItem with a parameter workflowContext and variable workflowContext
{code}
...
<itemDefinition id="_workflowContextItem" structureRef="com.example.tdm.workflow.AClass" />
<process processType="Private" isExecutable="true" id="_94ff85d0-5463-4b53-b5ce-3fa3c60eaf8d" name="Load_Stuff" >
<!-- process variables -->
<property id="workflowContext" itemSubjectRef="_workflowContextItem"/>
...
<task id="_3" name="Load_Test" tns:taskName="ETLGroup" >
<ioSpecification>
<dataInput id="_3_workflowContextInput" name="workflowContext" />
<dataOutput id="_3_workflowContextOutput" name="workflowContext" />
<inputSet>
<dataInputRefs>_3_workflowContextInput</dataInputRefs>
</inputSet>
<outputSet>
<dataOutputRefs>_3_workflowContextOutput</dataOutputRefs>
</outputSet>
</ioSpecification>
<dataInputAssociation>
<sourceRef>workflowContext</sourceRef>
<targetRef>_3_workflowContextInput</targetRef>
</dataInputAssociation>
<dataOutputAssociation>
<sourceRef>_3_workflowContextOutput</sourceRef>
<targetRef>workflowContext</targetRef>
</dataOutputAssociation>
</task>
...
{/code}
What I get in the WorkItem is a String value "workflowContext" not the Process parameter of the same name. This is using the org.eclipse.drools 5.2.0 plugin designer. I cannot see any association between the Process parameter and the WorkItem parameters.
Ed
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620671#620671]
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/20110811/cf5ee9e3/attachment.html
More information about the jboss-user
mailing list