<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Getting errors while completing the human task.
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/snowstormuser">snowstorm tech</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/798555#798555">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Following is the <span style="color: #555555; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"> process definition</span> which is provied in the "jbpm installer 5.4"</p><blockquote class="jive-quote"><p><?xml version="1.0" encoding="UTF-8"?> </p><p><definitions id="Definition"</p><p><span>             typeLanguage="</span><a class="jive-link-external-small" href="http://www.java.com/javaTypes" rel="nofollow" target="_blank">http://www.java.com/javaTypes</a><span>"</span></p><p><span>             targetNamespace="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>"</span></p><p><span>             expressionLanguage="</span><a class="jive-link-external-small" href="http://www.mvel.org/2.0" rel="nofollow" target="_blank">http://www.mvel.org/2.0</a><span>"</span></p><p><span>             xmlns="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>"</span></p><p><span>             xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></p><p><span>             xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span> BPMN20.xsd"</span></p><p><span>             xmlns:g="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools/flow/gpd" target="_blank">http://www.jboss.org/drools/flow/gpd</a><span>"</span></p><p><span>             xmlns:bpmndi="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/DI</a><span>"</span></p><p><span>             xmlns:dc="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow" target="_blank">http://www.omg.org/spec/DD/20100524/DC</a><span>"</span></p><p><span>             xmlns:di="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow" target="_blank">http://www.omg.org/spec/DD/20100524/DI</a><span>"</span></p><p><span>             xmlns:tns="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <itemDefinition id="_employeeItem" /></p><p>  <itemDefinition id="_reasonItem" /></p><p>  <itemDefinition id="_performanceItem" /></p><p>  <itemDefinition id="_contentItem" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <itemDefinition id="_2-employeeItem" /></p><p>  <itemDefinition id="_2-reasonItem" /></p><p>  <itemDefinition id="_2-performanceItem" /></p><p>  <itemDefinition id="_2-contentItem" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <itemDefinition id="_3-employeeItem" /></p><p>  <itemDefinition id="_3-reasonItem" /></p><p>  <itemDefinition id="_3-performanceItem" /></p><p>  <itemDefinition id="_3-contentItem" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <itemDefinition id="_4-employeeItem" /></p><p>  <itemDefinition id="_4-reasonItem" /></p><p>  <itemDefinition id="_4-performanceItem" /></p><p>  <itemDefinition id="_4-contentItem" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <process processType="Private" isExecutable="true" id="com.sample.evaluation" name="Evaluation" tns:packageName="defaultPackage" ></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- process variables --></p><p>    <property id="employee" itemSubjectRef="_employeeItem"/></p><p>    <property id="reason" itemSubjectRef="_reasonItem"/></p><p>    <property id="performance" itemSubjectRef="_performanceItem"/></p><p>    <property id="content" itemSubjectRef="_contentItem"/></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- nodes --></p><p>    <startEvent id="_1" name="Start" /></p><p>    <userTask id="_2" name="Self Evaluation" ></p><p>      <extensionElements></p><p><span>        <tns:onEntry-script scriptFormat="</span><a class="jive-link-external-small" href="http://www.java.com/java" rel="nofollow" target="_blank">http://www.java.com/java</a><span>"></span></p><p>          <tns:script>java.util.Map contentParam = new java.util.HashMap();</p><p>contentParam.put("reason", reason);</p><p>kcontext.setVariable("content", contentParam);</tns:script></p><p>        </tns:onEntry-script></p><p>      </extensionElements></p><p>      <ioSpecification></p><p>        <dataInput id="_2_ContentInput" name="Content" /></p><p>        <dataInput id="_2_CommentInput" name="Comment" /></p><p>        <dataInput id="_2_SkippableInput" name="Skippable" /></p><p>        <dataInput id="_2_TaskNameInput" name="TaskName" /></p><p>        <dataOutput id="_2_performanceOutput" name="performance" /></p><p>        <inputSet></p><p>          <dataInputRefs>_2_ContentInput</dataInputRefs></p><p>          <dataInputRefs>_2_CommentInput</dataInputRefs></p><p>          <dataInputRefs>_2_SkippableInput</dataInputRefs></p><p>          <dataInputRefs>_2_TaskNameInput</dataInputRefs></p><p>        </inputSet></p><p>        <outputSet></p><p>          <dataOutputRefs>_2_performanceOutput</dataOutputRefs></p><p>        </outputSet></p><p>      </ioSpecification></p><p>      <dataInputAssociation></p><p>        <sourceRef>content</sourceRef></p><p>        <targetRef>_2_ContentInput</targetRef></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_2_CommentInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">Please perform a self-evalutation.</from></p><p>          <to xsi:type="tFormalExpression">_2_CommentInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_2_SkippableInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">false</from></p><p>          <to xsi:type="tFormalExpression">_2_SkippableInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_2_TaskNameInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">Performance Evaluation</from></p><p>          <to xsi:type="tFormalExpression">_2_TaskNameInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataOutputAssociation></p><p>        <sourceRef>_2_performanceOutput</sourceRef></p><p>        <targetRef>performance</targetRef></p><p>      </dataOutputAssociation></p><p>      <potentialOwner></p><p>        <resourceAssignmentExpression></p><p>          <formalExpression>#{employee}</formalExpression></p><p>        </resourceAssignmentExpression></p><p>      </potentialOwner></p><p>    </userTask></p><p>    <userTask id="_3" name="PM Evaluation" ></p><p>      <extensionElements></p><p>        <tns:onEntry-script></p><p>          <tns:script>java.util.Map contentParam = new java.util.HashMap();</p><p>contentParam.put("reason", reason);</p><p>contentParam.put("performance", performance);</p><p>kcontext.setVariable("content", contentParam);</tns:script></p><p>        </tns:onEntry-script></p><p>      </extensionElements></p><p>      <ioSpecification></p><p>        <dataInput id="_3_ContentInput" name="Content" /></p><p>        <dataInput id="_3_CommentInput" name="Comment" /></p><p>        <dataInput id="_3_SkippableInput" name="Skippable" /></p><p>        <dataInput id="_3_TaskNameInput" name="TaskName" /></p><p>        <dataInput id="_3_GroupIdInput" name="GroupId" /></p><p>        <inputSet></p><p>          <dataInputRefs>_3_ContentInput</dataInputRefs></p><p>          <dataInputRefs>_3_CommentInput</dataInputRefs></p><p>          <dataInputRefs>_3_SkippableInput</dataInputRefs></p><p>          <dataInputRefs>_3_TaskNameInput</dataInputRefs></p><p>          <dataInputRefs>_3_GroupIdInput</dataInputRefs></p><p>        </inputSet></p><p>        <outputSet></p><p>        </outputSet></p><p>      </ioSpecification></p><p>      <dataInputAssociation></p><p>        <sourceRef>content</sourceRef></p><p>        <targetRef>_3_ContentInput</targetRef></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_3_CommentInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from></p><p>          <to xsi:type="tFormalExpression">_3_CommentInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_3_SkippableInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">false</from></p><p>          <to xsi:type="tFormalExpression">_3_SkippableInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_3_TaskNameInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">Performance Evaluation</from></p><p>          <to xsi:type="tFormalExpression">_3_TaskNameInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_3_GroupIdInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">PM</from></p><p>          <to xsi:type="tFormalExpression">_3_GroupIdInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <potentialOwner></p><p>        <resourceAssignmentExpression></p><p>          <formalExpression></formalExpression></p><p>        </resourceAssignmentExpression></p><p>      </potentialOwner></p><p>    </userTask></p><p>    <userTask id="_4" name="HR Evaluation" ></p><p>      <extensionElements></p><p><span>        <tns:onEntry-script scriptFormat="</span><a class="jive-link-external-small" href="http://www.java.com/java" rel="nofollow" target="_blank">http://www.java.com/java</a><span>"></span></p><p>          <tns:script>java.util.Map contentParam = new java.util.HashMap();</p><p>contentParam.put("reason", reason);</p><p>contentParam.put("performance", performance);</p><p>kcontext.setVariable("content", contentParam);</tns:script></p><p>        </tns:onEntry-script></p><p>      </extensionElements></p><p>      <ioSpecification></p><p>        <dataInput id="_4_ContentInput" name="Content" /></p><p>        <dataInput id="_4_CommentInput" name="Comment" /></p><p>        <dataInput id="_4_SkippableInput" name="Skippable" /></p><p>        <dataInput id="_4_TaskNameInput" name="TaskName" /></p><p>        <dataInput id="_4_GroupIdInput" name="GroupId" /></p><p>        <inputSet></p><p>          <dataInputRefs>_4_ContentInput</dataInputRefs></p><p>          <dataInputRefs>_4_CommentInput</dataInputRefs></p><p>          <dataInputRefs>_4_SkippableInput</dataInputRefs></p><p>          <dataInputRefs>_4_TaskNameInput</dataInputRefs></p><p>          <dataInputRefs>_4_GroupIdInput</dataInputRefs></p><p>        </inputSet></p><p>        <outputSet></p><p>        </outputSet></p><p>      </ioSpecification></p><p>      <dataInputAssociation></p><p>        <sourceRef>content</sourceRef></p><p>        <targetRef>_4_ContentInput</targetRef></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_4_CommentInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from></p><p>          <to xsi:type="tFormalExpression">_4_CommentInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_4_SkippableInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">false</from></p><p>          <to xsi:type="tFormalExpression">_4_SkippableInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_4_TaskNameInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">Performance Evaluation</from></p><p>          <to xsi:type="tFormalExpression">_4_TaskNameInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <dataInputAssociation></p><p>        <targetRef>_4_GroupIdInput</targetRef></p><p>        <assignment></p><p>          <from xsi:type="tFormalExpression">HR</from></p><p>          <to xsi:type="tFormalExpression">_4_GroupIdInput</to></p><p>        </assignment></p><p>      </dataInputAssociation></p><p>      <potentialOwner></p><p>        <resourceAssignmentExpression></p><p>          <formalExpression></formalExpression></p><p>        </resourceAssignmentExpression></p><p>      </potentialOwner></p><p>    </userTask></p><p>    <parallelGateway id="_5" name="Gateway" gatewayDirection="Diverging" /></p><p>    <parallelGateway id="_6" name="Gateway" gatewayDirection="Converging" /></p><p>    <endEvent id="_7" name="End" ></p><p>        <terminateEventDefinition /></p><p>    </endEvent></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- connections --></p><p>    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /></p><p>    <sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" /></p><p>    <sequenceFlow id="_5-_4" sourceRef="_5" targetRef="_4" /></p><p>    <sequenceFlow id="_2-_5" sourceRef="_2" targetRef="_5" /></p><p>    <sequenceFlow id="_4-_6" sourceRef="_4" targetRef="_6" /></p><p>    <sequenceFlow id="_3-_6" sourceRef="_3" targetRef="_6" /></p><p>    <sequenceFlow id="_6-_7" sourceRef="_6" targetRef="_7" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  </process></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <bpmndi:BPMNDiagram></p><p>    <bpmndi:BPMNPlane bpmnElement="com.sample.evaluation" ></p><p>      <bpmndi:BPMNShape bpmnElement="_1" ></p><p>        <dc:Bounds x="16" y="56" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_2" ></p><p>        <dc:Bounds x="96" y="56" width="135" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_3" ></p><p>        <dc:Bounds x="344" y="96" width="136" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_4" ></p><p>        <dc:Bounds x="344" y="16" width="136" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_5" ></p><p>        <dc:Bounds x="263" y="56" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_6" ></p><p>        <dc:Bounds x="512" y="56" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_7" ></p><p>        <dc:Bounds x="593" y="56" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNEdge bpmnElement="_1-_2" ></p><p>        <di:waypoint x="40" y="80" /></p><p>        <di:waypoint x="163" y="80" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_5-_3" ></p><p>        <di:waypoint x="287" y="80" /></p><p>        <di:waypoint x="287" y="120" /></p><p>        <di:waypoint x="412" y="120" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_5-_4" ></p><p>        <di:waypoint x="287" y="80" /></p><p>        <di:waypoint x="287" y="40" /></p><p>        <di:waypoint x="412" y="40" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_2-_5" ></p><p>        <di:waypoint x="163" y="80" /></p><p>        <di:waypoint x="287" y="80" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_4-_6" ></p><p>        <di:waypoint x="412" y="40" /></p><p>        <di:waypoint x="536" y="40" /></p><p>        <di:waypoint x="536" y="80" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_3-_6" ></p><p>        <di:waypoint x="412" y="120" /></p><p>        <di:waypoint x="537" y="120" /></p><p>        <di:waypoint x="536" y="80" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_6-_7" ></p><p>        <di:waypoint x="536" y="80" /></p><p>        <di:waypoint x="617" y="80" /></p><p>      </bpmndi:BPMNEdge></p><p>    </bpmndi:BPMNPlane></p><p>  </bpmndi:BPMNDiagram></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></definitions></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p></blockquote></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/798555#798555">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>