<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Activiti with sql not executed? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26746#M11526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.activiti.org/test" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;process id="myProcess" name="My process" isExecutable="true"&amp;gt;&lt;BR /&gt; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask2" name="Reporting Manager Approval" activiti:assignee="${reporting_manager}" activiti:candidateUsers="${reporting_managers}" activiti:candidateGroups="${reporting_manager_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="reporting_manager_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="reporting_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener event="complete" expression="${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', 'true').parameter('id', '44').singleResult()}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask3" name="HR Approval" activiti:candidateUsers="${hrs}" activiti:candidateGroups="${hr_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="hr_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="hr_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow3" name="approved" sourceRef="exclusivegateway1" targetRef="usertask3"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow4" name="rejected" sourceRef="exclusivegateway2" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!hr_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway" default="flow3"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow6" sourceRef="usertask2" targetRef="exclusivegateway1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow7" name="rejected" sourceRef="exclusivegateway1" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:executionListener event="take" expression="sql:UPDATE act_custom_process SET status=true WHERE id=15; "&amp;gt;&amp;lt;/activiti:executionListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!reporting_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway" default="flow9"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow8" sourceRef="usertask3" targetRef="exclusivegateway2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask4" name="Finance Manager" activiti:candidateUsers="${finance_users}" activiti:candidateGroups="${finance_user_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="finance_manager_approval" name="Approve?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="finance_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow9" name="approved" sourceRef="exclusivegateway2" targetRef="usertask4"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway" default="flow11"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow10" sourceRef="usertask4" targetRef="exclusivegateway3"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask5" name="Account Manager" activiti:candidateUsers="${accountants}" activiti:candidateGroups="${accountant_groups}"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow11" name="approved" sourceRef="exclusivegateway3" targetRef="audit_manager_approval"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow12" name="rejected" sourceRef="exclusivegateway3" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!finance_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow13" name="transfer amount" sourceRef="usertask5" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow14" sourceRef="startevent1" targetRef="usertask2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="audit_manager_approval" name="Audit Manager" activiti:candidateUsers="${audit_users}" activiti:candidateGroups="${audit_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="audit_manager_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="audit_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway" default="flow16"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow15" sourceRef="audit_manager_approval" targetRef="exclusivegateway4"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow16" name="approved" sourceRef="exclusivegateway4" targetRef="usertask5"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow17" name="rejected" sourceRef="exclusivegateway4" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!audit_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="30.0" y="163.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="61.0" width="105.0" x="120.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="61.0" width="105.0" x="340.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="263.0" y="304.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="260.0" y="160.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="490.0" y="161.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="575.0" y="154.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="670.0" y="110.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask5" id="BPMNShape_usertask5"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="796.0" y="209.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="audit_manager_approval" id="BPMNShape_audit_manager_approval"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="700.0" y="40.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="811.0" y="134.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="300.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="340.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="289.0" y="154.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="510.0" y="201.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="509.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="298.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="381.0" y="303.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="225.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="260.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="200.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="304.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="224.0" y="229.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="445.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="490.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="530.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="575.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="519.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="680.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="150.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="110.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="752.0" y="95.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="620.0" y="81.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="150.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="722.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="298.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="572.0" y="252.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="848.0" y="264.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="822.0" y="349.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="339.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="77.0" x="746.0" y="379.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="65.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="120.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="752.0" y="95.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="134.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="174.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="848.0" y="209.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="847.0" y="174.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="174.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="648.0" y="254.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="304.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="731.0" y="272.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNPlane&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNDiagram&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2017 07:01:23 GMT</pubDate>
    <dc:creator>vamsinipun</dc:creator>
    <dc:date>2017-12-27T07:01:23Z</dc:date>
    <item>
      <title>Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26737#M11517</link>
      <description>Dear Team,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am using activiti in my spring web application and would like to execute sql statement when the task complete. but it isn't work. please check and tell me the right way.Thanks</description>
      <pubDate>Thu, 21 Dec 2017 04:58:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26737#M11517</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-21T04:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26738#M11518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I referred this link&amp;nbsp;&lt;A class="link-titled" href="https://www.win.tue.nl/~dfahland/courses/2io71/docs/2io71_tutorial_03_activiti_and_sql.pdf" title="https://www.win.tue.nl/~dfahland/courses/2io71/docs/2io71_tutorial_03_activiti_and_sql.pdf" rel="nofollow noopener noreferrer"&gt;https://www.win.tue.nl/~dfahland/courses/2io71/docs/2io71_tutorial_03_activiti_and_sql.pdf&lt;/A&gt;&amp;nbsp;for this scenario. But the sql statement is not executed. if anyone know about this please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 11:21:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26738#M11518</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-22T11:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26739#M11519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Please reply me if anyone have idea on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 07:29:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26739#M11519</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-26T07:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26740#M11520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well...&amp;nbsp; I don't know expression type that can describe custom SQL directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, there is a feature called NativeQuery to achieve similar things with your expression.&lt;BR /&gt;&lt;A href="https://www.activiti.org/userguide/#queryAPI" rel="nofollow noopener noreferrer"&gt;https://www.activiti.org/userguide/#queryAPI&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', 'true').parameter('id', '44').singleResult()}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 18:39:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26740#M11520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-26T18:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26741#M11521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. This is helpful in future. But I would like to execute the query in bpmn file. do you know about that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:02:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26741#M11521</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T06:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26742#M11522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know how can i execute this means where can i place it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', 'true').parameter('id', '44').singleResult()}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26742#M11522</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T06:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26743#M11523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&gt;It is the same as the image you are up and can be entered directly in the Expression column. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&gt;The sample process definition is as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.alfresco.com/servlet/JiveServlet/download/826126-1-29483/SQL Process.bpmn.zip" title="https://community.alfresco.com/servlet/JiveServlet/download/826126-1-29483/SQL%20Process.bpmn.zip" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/servlet/JiveServlet/download/826126-1-29483/SQL%20Process.bpmn.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:42:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26743#M11523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T06:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26744#M11524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya. I put like that only, but it is not executed. do you know any reason for that means any configuration or mappings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:51:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26744#M11524</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T06:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26745#M11525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share your bpmn file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:55:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26745#M11525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T06:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26746#M11526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.activiti.org/test" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;process id="myProcess" name="My process" isExecutable="true"&amp;gt;&lt;BR /&gt; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask2" name="Reporting Manager Approval" activiti:assignee="${reporting_manager}" activiti:candidateUsers="${reporting_managers}" activiti:candidateGroups="${reporting_manager_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="reporting_manager_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="reporting_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener event="complete" expression="${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', 'true').parameter('id', '44').singleResult()}"&amp;gt;&amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask3" name="HR Approval" activiti:candidateUsers="${hrs}" activiti:candidateGroups="${hr_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="hr_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="hr_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow3" name="approved" sourceRef="exclusivegateway1" targetRef="usertask3"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow4" name="rejected" sourceRef="exclusivegateway2" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!hr_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway" default="flow3"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow6" sourceRef="usertask2" targetRef="exclusivegateway1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow7" name="rejected" sourceRef="exclusivegateway1" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:executionListener event="take" expression="sql:UPDATE act_custom_process SET status=true WHERE id=15; "&amp;gt;&amp;lt;/activiti:executionListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!reporting_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway" default="flow9"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow8" sourceRef="usertask3" targetRef="exclusivegateway2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask4" name="Finance Manager" activiti:candidateUsers="${finance_users}" activiti:candidateGroups="${finance_user_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="finance_manager_approval" name="Approve?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="finance_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow9" name="approved" sourceRef="exclusivegateway2" targetRef="usertask4"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway" default="flow11"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow10" sourceRef="usertask4" targetRef="exclusivegateway3"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="usertask5" name="Account Manager" activiti:candidateUsers="${accountants}" activiti:candidateGroups="${accountant_groups}"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow11" name="approved" sourceRef="exclusivegateway3" targetRef="audit_manager_approval"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow12" name="rejected" sourceRef="exclusivegateway3" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!finance_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow13" name="transfer amount" sourceRef="usertask5" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow14" sourceRef="startevent1" targetRef="usertask2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="audit_manager_approval" name="Audit Manager" activiti:candidateUsers="${audit_users}" activiti:candidateGroups="${audit_groups}"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="audit_manager_approval" name="Approved?" type="boolean" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="audit_manager_comments" name="Comments" type="string" required="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway" default="flow16"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow15" sourceRef="audit_manager_approval" targetRef="exclusivegateway4"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow16" name="approved" sourceRef="exclusivegateway4" targetRef="usertask5"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow17" name="rejected" sourceRef="exclusivegateway4" targetRef="endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${!audit_manager_approval}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="30.0" y="163.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="61.0" width="105.0" x="120.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="61.0" width="105.0" x="340.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="263.0" y="304.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="260.0" y="160.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="490.0" y="161.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="575.0" y="154.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="670.0" y="110.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="usertask5" id="BPMNShape_usertask5"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="796.0" y="209.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="audit_manager_approval" id="BPMNShape_audit_manager_approval"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="700.0" y="40.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="811.0" y="134.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="300.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="340.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="289.0" y="154.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="510.0" y="201.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="509.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="298.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="381.0" y="303.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="225.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="260.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="200.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="304.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="224.0" y="229.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="445.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="490.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="530.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="575.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="519.0" y="150.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="680.0" y="181.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="150.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="110.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="752.0" y="95.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="620.0" y="81.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="690.0" y="150.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="722.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="298.0" y="321.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="572.0" y="252.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="848.0" y="264.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="822.0" y="349.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="339.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="77.0" x="746.0" y="379.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="65.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="120.0" y="180.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="752.0" y="95.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="134.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="174.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="848.0" y="209.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="46.0" x="847.0" y="174.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17"&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="831.0" y="174.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="648.0" y="254.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;omgdi:waypoint x="280.0" y="304.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="14.0" width="39.0" x="731.0" y="272.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNPlane&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNDiagram&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 07:01:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26746#M11526</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T07:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26747#M11527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check above xml file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 07:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26747#M11527</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T07:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26748#M11528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally i executed with static query&amp;nbsp;with given below expression by you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', 'true').parameter('id', '44').singleResult()}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;Now, how can i pass dynamic fields instead of static values like 'true' and 44?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 10:38:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26748#M11528</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26749#M11529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use variables to pass dynamic fields as the following expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;${execution.getEngineServices().getRuntimeService().createNativeExecutionQuery().sql('UPDATE act_custom_process SET status=#{status} WHERE id=#{id}').parameter('status', execution.getVariable('flag')).parameter('id', execution.getVariable('id')).singleResult()}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, what was the cause for not working first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 11:45:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26749#M11529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T11:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26750#M11530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply once again. almost i reached my requirement. please help me in this too.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/18446_Capture.PNG" style="width: 620px; height: 395px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here we have assignee option with variable like ${reporting_manager}. I was set the value through my java code, instead of that how can i set that through sql without java?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 12:39:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26750#M11530</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-27T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26751#M11531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set variable by the el expression as the following expression.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#apiVariables" title="https://www.activiti.org/userguide/#apiVariables" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;${execution.setVariable('&lt;SPAN style="background-color: #ffffff;"&gt;reporting_manager&lt;/SPAN&gt;', %Value%)}&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 12:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26751#M11531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T12:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26752#M11532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/18452_Capture.PNG" style="width: 620px; height: 399px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i execute the query in java class mean listener. how can i get those data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 06:42:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26752#M11532</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-28T06:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26753#M11533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible to select from any table.&lt;/P&gt;&lt;P&gt;If it is an Activiti table, you can do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 08:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26753#M11533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T08:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti with sql not executed?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26754#M11534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;k now how can i get the application table data? is there any other way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 09:23:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-with-sql-not-executed/m-p/26754#M11534</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-28T09:23:16Z</dc:date>
    </item>
  </channel>
</rss>

