Hello All,
We have a requirement to run the multiple process models as per schedule. The Scheduler will be responsible to identify which process to be triggered and when.
For example we are maintaining below data in records-Processname - time - UUID
Now parent process is running and checking in each 5 mins and checking which process to be executed. Then it fetch the UUID of those processes and get the Process Model ID. This process model id will be used to call "Start Process" smart service with (MNI), each for identified process.
I am using Start Process smart service because I am maintaining UUID in DB and need to get the processes dynamically.
So here as per above example, at 2:30:PM I have 4 process models (process 1, process 2, process 3, process 4) to be triggered. Now currently my parent process model is identifying 4 processes to be triggered and triggering them.
The issue which I am facing is intermittent. All 4 nodes gets executed at times. And some times only one process model gets executed and others remain untriggered. When I check the "Start Process" node properties in monitoring, then it shows the spawned nodes as below.
I am not sure what can be the issue behind this intermittent behavior. Can anyone help here?
Discussion posts and replies are publicly visible
When this happens to you, is the UUID of the processes to be executed always the same? Is it different? Does it happen regardless of the UUID value of the processes to be executed?
As per my understanding,The intermittent issue occurs because some UUIDs fail to resolve to valid Process Model Ids. When the Start Process node receives invalid or null Ids in the MNI array, it only executes the valid ones, causing inconsistent behavior.Try this:Add logging before Start Process to verify all 4 Process Model IDs are valid. Implement error handling on the node. Check that UUID-to-ProcessModelID mapping in your database is accurate and all target process models are active and accessible. Also verify the parent process has permissions to start all child processes and no concurrent execution limits are being hit.