<!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: Task Human - Parameter Mapping
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/mantusingh90">Mantu Singh</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/793530#793530">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi ,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>i have solved this problem , your <a class="jive-link-thread-small" href="https://community.jboss.org/thread/200045" rel="nofollow">https://community.jboss.org/thread/200045</a> post helped me on this.....thanks!!</p><p>but i still have one problem ... after completion of two user task it throws exception in Diverging getway.</p><p>this code is there for Diverging getway...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong><span><conditionExpression xsi:type="tFormalExpression" language="</span><a class="jive-link-external-small" href="http://www.java.com/java" rel="nofollow" target="_blank">http://www.java.com/java</a><span>" >System.out.println("no_male = " + no_male);</span></strong></p><p><strong>System.out.println("no_female = " + no_female);</strong></p><p><strong>System.out.println("actual_male = " + actual_male);</strong></p><p><strong>System.out.println("actual_female = " + actual_female);</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong>System.out.println("compare = " + (</strong></p><p><strong>    ( no_male.equals( actual_male )) &amp;&amp;</strong></p><p><strong>    ( no_female.equals( actual_female ))</strong></p><p><strong>));</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong>return (</strong></p><p><strong>    no_male.equals( actual_male ) &amp;&amp;</strong></p><p><strong>    no_female.equals( actual_female )</strong></p><p><strong>);</conditionExpression></strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong><a href="https://community.jboss.org/servlet/JiveServlet/showImage/2-793530-20178/a.bmp"><span> https://community.jboss.org/servlet/JiveServlet/downloadImage/2-793530-20178/310-398/a.bmp </span></a></strong></p><p>exception................!!!!!!</p><p><strong>org.jbpm.workflow.instance.WorkflowRuntimeException: [humanTaskFlow:1 - Gateway:6] -- Exception when trying to evaluate constraint Match in split Gateway</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:216)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:196)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:247)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:309)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:285)</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:342)</strong></p><p><strong>    at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)</strong></p><p><strong>    at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(SyncWSHumanTaskHandler.java:361)</strong></p><p><strong>    at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.execute(SyncWSHumanTaskHandler.java:325)</strong></p><p><strong>    at org.jbpm.task.service.local.LocalTaskService$SimpleEventTransport.trigger(LocalTaskService.java:329)</strong></p><p><strong>    at org.jbpm.task.event.MessagingTaskEventListener.triggerPayload(MessagingTaskEventListener.java:76)</strong></p><p><strong>    at org.jbpm.task.event.MessagingTaskEventListener.handleEvent(MessagingTaskEventListener.java:92)</strong></p><p><strong>    at org.jbpm.task.event.MessagingTaskEventListener.taskCompleted(MessagingTaskEventListener.java:109)</strong></p><p><strong>    at org.jbpm.task.event.TaskEventSupport.fireTaskCompleted(TaskEventSupport.java:49)</strong></p><p><strong>    at org.jbpm.task.service.TaskServiceSession.postTaskCompleteOperation(TaskServiceSession.java:569)</strong></p><p><strong>    at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:495)</strong></p><p><strong>    at org.jbpm.task.service.local.LocalTaskService.complete(LocalTaskService.java:83)</strong></p><p><strong>    at com.utsav.poc.LocalTaskClientTest.main(LocalTaskClientTest.java:121)</strong></p><p><strong>Caused by: java.lang.RuntimeException: Exception when trying to evaluate constraint Match in split Gateway</strong></p><p><strong>    at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:79)</strong></p><p><strong>    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)</strong></p><p><strong>    ... 22 more</strong></p><p><strong>Caused by: java.lang.RuntimeException: unable to execute ReturnValueEvaluator: </strong></p><p><strong>    at org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:132)</strong></p><p><strong>    at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:72)</strong></p><p><strong>    ... 23 more</strong></p><p><strong>Caused by: java.lang.NullPointerException</strong></p><p><strong>    at com.geneoz.flow.Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32c.returnValueEvaluator5(Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32c.java:48)</strong></p><p><strong>    at com.geneoz.flow.Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32cReturnValueEvaluator5Invoker.evaluate(Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32cReturnValueEvaluator5Invoker.java:18)</strong></p><p><strong>    at org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:130)</strong></p><p><strong>    ... 24 more</strong></p></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/793530#793530">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>