Hi everyone,
I’m facing a weird issue. We’ve seen some multiple executions of a set of service tasks that did not cause any exceptions. I cannot reproduce it and I also cannot grasp the cause of this behaviour.
Stacktrace
2016-09-09 12:55:44,776 DEBUG [be.powerdale.bpm.pop.milestone.NotificationApproved] (pool-7-thread-86) NotificationApproved milestone reached.
2016-09-09 12:55:44,784 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-86) Creating new building in EV platform
2016-09-09 12:55:44,785 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-86) Saving building for company 223
2016-09-09 12:55:44,789 DEBUG [be.powerdale.bpm.integration.evplatform.core.BaseClient] (pool-7-thread-86) {"name":"Home f l","longitude":null,"latitude":null,"type":"HOME","companyId":null,"address":{"city":"c","street":"s","zipcode":"2","streetNumber":"1","country":"BELGIUM"}}
2016-09-09 12:55:44,800 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-86) Creating new building ...
2016-09-09 12:55:44,816 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-86) New Building Id 352
2016-09-09 12:55:44,875 DEBUG [be.powerdale.bpm.pop.milestone.NotificationApproved] (pool-7-thread-87) NotificationApproved milestone reached.
2016-09-09 12:55:44,886 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-87) Creating new building in EV platform
2016-09-09 12:55:44,888 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-87) Saving building for company 223
2016-09-09 12:55:44,889 DEBUG [be.powerdale.bpm.integration.evplatform.core.BaseClient] (pool-7-thread-87) {"name":"Home f l","longitude":null,"latitude":null,"type":"HOME","companyId":null,"address":{"city":"c","street":"s","zipcode":"2","streetNumber":"1","country":"BELGIUM"}}
2016-09-09 12:55:44,901 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-87) Creating new building ...
2016-09-09 12:55:44,914 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-87) New Building Id 353
2016-09-09 12:55:44,955 DEBUG [be.powerdale.bpm.pop.milestone.NotificationApproved] (pool-7-thread-86) NotificationApproved milestone reached.
2016-09-09 12:55:44,969 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-86) Creating new building in EV platform
2016-09-09 12:55:44,970 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-86) Saving building for company 223
2016-09-09 12:55:44,970 DEBUG [be.powerdale.bpm.integration.evplatform.core.BaseClient] (pool-7-thread-86) {"name":"Home f l","longitude":null,"latitude":null,"type":"HOME","companyId":null,"address":{"city":"c","street":"s","zipcode":"2","streetNumber":"1","country":"BELGIUM"}}
2016-09-09 12:55:44,980 DEBUG [be.powerdale.bpm.integration.evplatform.core.EVClient] (pool-7-thread-86) Creating new building ...
2016-09-09 12:55:44,992 INFO [be.powerdale.bpm.pop.delegate.PersistBuilding] (pool-7-thread-86) New Building Id 354
Model
The service tasks themselves are not marked as asynchronous.
In short; I’ve defined the milestone as asynchronous before as the previous task is a User Task and the submit of the form was taking a long time. I did not give it a RTC as I do not want to retry the service tasks causing them to roll back. I checked the logging far any exceptions, but I could not find any so I do not know what causes the multiple executions.
Any insights would be greatly appreciated!