Async Service Task executed multi-times in cluster

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
dean
Member II

Async Service Task executed multi-times in cluster

Jump to solution

This is the definition:

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlnsSmiley Surprisedmgdc="http://www.omg.org/spec/DD/20100524/DC" xmlnsSmiley Surprisedmgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef">
<process id="Pb498c2b9-4e58-7b19-7cee-87f3b1fe7207" isExecutable="true">
<startEvent id="START"></startEvent>
<sequenceFlow sourceRef="START" targetRef="N-8beaadb7-dbb3-4399-a6c6-d6dbe89a7fd8"></sequenceFlow>
<serviceTask id="N-8beaadb7-dbb3-4399-a6c6-d6dbe89a7fd8" name="Add Group" activiti:async="true" activiti:delegateExpression="#{triggerDummyDelegate}">
<extensionElements>
<activiti:field name="parameterMap">
<activiti:string><![CDATA[{"groupId":"8"}]]></activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
<serviceTask id="N-b3b08fcf-52a7-46ad-a386-75e7abca4360" name="A/B Test" activiti:delegateExpression="#{actionDummyDelegate}">
<extensionElements>
<activiti:field name="parameterMap">
<activiti:string><![CDATA[{}]]></activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
<sequenceFlow sourceRef="N-8beaadb7-dbb3-4399-a6c6-d6dbe89a7fd8" targetRef="N-b3b08fcf-52a7-46ad-a386-75e7abca4360"></sequenceFlow>
<endEvent id="N-8740fcaa-a38b-4ba3-8b4c-0532dbe8f521"></endEvent>
<sequenceFlow sourceRef="N-b3b08fcf-52a7-46ad-a386-75e7abca4360" targetRef="N-8740fcaa-a38b-4ba3-8b4c-0532dbe8f521"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_Pb498c2b9-4e58-7b19-7cee-87f3b1fe7207">
<bpmndi:BPMNPlane bpmnElement="Pb498c2b9-4e58-7b19-7cee-87f3b1fe7207" id="BPMNPlane_Pb498c2b9-4e58-7b19-7cee-87f3b1fe7207"></bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

the node Add Group marked as activiti:async="true" .

And this is my executor config:

processEngineConfiguration.setJobExecutorActivate(false);
processEngineConfiguration.setAsyncExecutorEnabled(true);
processEngineConfiguration.setAsyncExecutorActivate(true);

The problem is

When I triggered the definition in batch, I tried triggered it 7 times in node 1, so there will be 7 workflow instances. The normal case is that the 7 instances are executed only in node 1. But now I found 3 instances also executed in node 2 which means 3 instance executed twice.

Log in node 1:

-2017-07-24 09:35:55.108 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [611], contactId [2792], trigg
erId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.154 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [612], contactId [2769], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.193 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [613], contactId [2768], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.230 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [614], contactId [2767], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.269 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [615], contactId [2765], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.303 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [616], contactId [2762], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.341 INFO 17017 --- [LinkflowClusteredScheduler_Worker-3] [X-Tenant-Id= 13] [X-Trace-Id=] i.n.s.impl.CustomerJourneyServiceImpl : create customer journey instance successfully id [617], contactId [2761], triggerId [db7b4271-4060-8ce1-9f3f-3b27666ba273]
-2017-07-24 09:35:55.386 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.387 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.389 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : contact id [2769] name [kyle].
-2017-07-24 09:35:55.389 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.391 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.TriggerDummyDelegate : contact id [2792] name [test for 手工].
-2017-07-24 09:35:55.391 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.392 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.392 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.392 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.393 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.393 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.393 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.394 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.394 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.394 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.394 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.395 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.395 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.395 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.395 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.395 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.397 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.397 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.397 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.397 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.397 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90102] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.508 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.511 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : contact id [2768] name [aaa].
-2017-07-24 09:35:55.511 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.513 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.513 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.513 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.514 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.514 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.514 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.514 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.514 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.515 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.515 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.542 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.544 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.TriggerDummyDelegate : contact id [2767] name [刘笑].
-2017-07-24 09:35:55.544 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.546 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.546 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.546 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.547 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.547 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.547 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.547 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.548 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.548 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.548 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90123] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.627 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.630 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : contact id [2765] name [test123].
-2017-07-24 09:35:55.630 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.633 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.633 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.633 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.634 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : result is [YES]
-2017-07-24 09:35:55.634 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.634 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : start execute wechat action...
-2017-07-24 09:35:55.635 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : === WeChat action properties: [io.naza.activiti.ui.model.ActionWechatNode$WorkflowProperty@ba8803] ===
-2017-07-24 09:35:55.650 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : Find openId [omGW1webXy4JVk35zjPnB5qo4WvU] for contact [2765] in mpAccount [wxf2270d38914691b0]
-2017-07-24 09:35:55.651 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.i.wechat.WeChatAuthService : Get >>>Authorizer Access Token<<< from redis. key:authorizer.access.token.wxf2270d38914691b0
-2017-07-24 09:35:55.652 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] weixin.popular.client.LocalHttpClient : URI[46d1f911-73e7-4e9d-8c02-36543229b36c] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=c8ZEwS6j22c8xhmxgRLCbQVNSITQEI5... Content-Type: text/plain; charset=UTF-8 ContentLength:229 Content:{"data":{"first":{"value":"新成员"},"keyword1":{"value":"test123"},"keyword2":{"value":"20170706"},"remark":{"value":"thx~"}},"template_id":"8M87dZ_S7cRvNJvWXyNRmyHsIKb43zylLQ6syLUVwQ0","touser":"omGW1webXy4JVk35zjPnB5qo4WvU"}
-2017-07-24 09:35:55.656 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.658 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.TriggerDummyDelegate : contact id [2762] name [像花儿一样].
-2017-07-24 09:35:55.658 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.660 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.660 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.660 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.661 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.661 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.661 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.661 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.661 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.662 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.662 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90137] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.867 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] w.popular.client.JsonResponseHandler : URI[46d1f911-73e7-4e9d-8c02-36543229b36c] elapsed time:215 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":534893125}
-2017-07-24 09:35:55.867 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : execute successfully, send app [wxf2270d38914691b0] template message [{first=weixin.popular.bean.message.templatemessage.TemplateMessageItem@48ebb3b, keyword1=weixin.popular.bean.message.templatemessage.TemplateMessageItem@48ce6704, keyword2=weixin.popular.bean.message.templatemessage.TemplateMessageItem@1bfb94c4, remark=weixin.popular.bean.message.templatemessage.TemplateMessageItem@782023f}] to user [omGW1webXy4JVk35zjPnB5qo4WvU]
-2017-07-24 09:35:55.867 INFO 17017 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : end execute wechat action...
-2017-07-24 09:35:55.956 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:35:55.959 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.TriggerDummyDelegate : contact id [2761] name [Kyle Lee].
-2017-07-24 09:35:55.959 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:35:55.962 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.962 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:35:55.962 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:35:55.963 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:35:55.963 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.963 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:35:55.963 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:35:55.963 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:35:55.964 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : result is [YES]
-2017-07-24 09:35:55.964 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:35:55.970 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.ActionWorkWechatDelegate : start execute workwechat action...
-2017-07-24 09:35:55.975 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.i.wechat.WeChatAuthService : Post >>>SendMessage<<< from WWX.
-2017-07-24 09:35:55.981 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.i.wechat.WeChatAuthService : Get >>>Component Access Token<<< from cache.
-2017-07-24 09:35:55.982 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.i.wechat.WeChatAuthService : Get >>>Component Access Token<<< from WX.
-2017-07-24 09:35:56.453 INFO 17017 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90144] i.n.a.delegate.ActionWorkWechatDelegate : end execute workwechat action...

Log in node 2:

-2017-07-24 09:36:11.284 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:36:11.297 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:36:11.486 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : contact id [2768] name [aaa].
-2017-07-24 09:36:11.486 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:36:11.486 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : contact id [2769] name [kyle].
-2017-07-24 09:36:11.486 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:36:11.511 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:36:11.511 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:36:11.559 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:36:11.560 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:36:11.682 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:36:11.683 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:36:11.736 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:36:11.737 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:36:11.737 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:36:11.737 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:36:11.752 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:36:11.754 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:36:11.754 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:36:11.755 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:36:11.755 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90109] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:36:11.757 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:36:11.757 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc393]
-2017-07-24 09:36:11.757 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='李军')]
-2017-07-24 09:36:11.758 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : result is [NO]
-2017-07-24 09:36:11.758 INFO 12573 --- [pool-4-thread-2] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90116] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:36:12.031 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : start execute dummy trigger...
-2017-07-24 09:36:12.035 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : contact id [2765] name [test123].
-2017-07-24 09:36:12.035 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.TriggerDummyDelegate : end execute dummy trigger...
-2017-07-24 09:36:12.039 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : start execute field gateway ...
-2017-07-24 09:36:12.039 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : Find resultVariable [gatewayc117]
-2017-07-24 09:36:12.040 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : Gateway spel is [(contact.attrs['13'].value=='小东')]
-2017-07-24 09:36:12.040 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : result is [YES]
-2017-07-24 09:36:12.040 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.GatewayFieldDelegate : end execute field gateway ...
-2017-07-24 09:36:12.059 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : start execute wechat action...
-2017-07-24 09:36:12.063 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : === WeChat action properties: [io.naza.activiti.ui.model.ActionWechatNode$WorkflowProperty@14a878dd] ===
-2017-07-24 09:36:12.119 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : Find openId [omGW1webXy4JVk35zjPnB5qo4WvU] for contact [2765] in mpAccount [wxf2270d38914691b0]
-2017-07-24 09:36:12.138 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.i.wechat.WeChatAuthService : Get >>>Authorizer Access Token<<< from redis. key:authorizer.access.token.wxf2270d38914691b0
-2017-07-24 09:36:13.414 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] weixin.popular.client.LocalHttpClient : URI[97669ca6-2f9d-49e0-8254-873bab8584a5] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=c8ZEwS6j22c8xhmxgRLCbQVNSITQEI5... Content-Type: text/plain; charset=UTF-8 ContentLength:229 Content:{"data":{"first":{"value":"新成员"},"keyword1":{"value":"test123"},"keyword2":{"value":"20170706"},"remark":{"value":"thx~"}},"template_id":"8M87dZ_S7cRvNJvWXyNRmyHsIKb43zylLQ6syLUVwQ0","touser":"omGW1webXy4JVk35zjPnB5qo4WvU"}
-2017-07-24 09:36:14.409 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] w.popular.client.JsonResponseHandler : URI[97669ca6-2f9d-49e0-8254-873bab8584a5] elapsed time:1006 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":534893127}
-2017-07-24 09:36:14.447 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : execute successfully, send app [wxf2270d38914691b0] template message [{first=weixin.popular.bean.message.templatemessage.TemplateMessageItem@1f3cb5df, keyword1=weixin.popular.bean.message.templatemessage.TemplateMessageItem@6aa1f103, keyword2=weixin.popular.bean.message.templatemessage.TemplateMessageItem@3001acf3, remark=weixin.popular.bean.message.templatemessage.TemplateMessageItem@6b54fcca}] to user [omGW1webXy4JVk35zjPnB5qo4WvU]
-2017-07-24 09:36:14.447 INFO 12573 --- [pool-4-thread-1] [X-Tenant-Id= 13] [X-Trace-Id=db7b4271-4060-8ce1-9f3f-3b27666ba273:90130] i.n.a.delegate.ActionWeChatDelegate : end execute wechat action...

The workflow instance 90116, 90109, 90130 executed twice now.

1 Solution

Accepted Solutions
warper
Established Member II

Re: Async Service Task executed multi-times in cluster

Jump to solution

It's working like this, but in the end of failed threads you get optimistic locking exception upon transaction commit.

Looks like you hide your ActivitiOptimisticLockingException.

Please read section "8.7.2 Exclusive Jobs" in activity user guide, it describes one of possible workarounds.

1 Reply
warper
Established Member II

Re: Async Service Task executed multi-times in cluster

Jump to solution

It's working like this, but in the end of failed threads you get optimistic locking exception upon transaction commit.

Looks like you hide your ActivitiOptimisticLockingException.

Please read section "8.7.2 Exclusive Jobs" in activity user guide, it describes one of possible workarounds.