Start process smart service triggers another process twice

Certified Senior Developer

background information:

  • We are working on Appian 20.2 on premise.

  • the application we are talking has a lot of processes. around 300 started in 30 minutes, which are working fine. Another 9400 in the upcoming 9 hours, which are not working as expected

Process context.:
I have a main process, which is initially started by start process. This works fine. Then this main process is searching via script task for an id, which is saved in the process as process variable.
The rule in the script task uses a  "a!queryEntity_18r3" to load this id from the wanted table. This all works fine so far and through all processes.
last step before finishing the process via end event, a "start process smart service" starts the same "main process" for the newly found id. 
so we have a long chain of processes wich are starting and are started by a process (instance) of the same model. 

Issue:
after several processes (300 processes or 30 minutes), we got the issues, that the start process smart service is starting two other processes, but it has still just 1 instance.
All double processes have the same previous loaded initial id, they all load and calculate the same process values, even the same "next id" via query entity and all are starting the same new process.
so we have a chain with two processes now.
This happens after 5 hours another time, so now we have three processes running the same time with the same exact data.


Could this be an appian bug, because of to much processes in a short time for engines or other possible reasons?

  Discussion posts and replies are publicly visible