Hi All,
I ma using the start process smart service in parent process model with activity chaining enabled in both parent and child process. The node start process smart service is taking long to execute.
Can anyone please suggest how to reduce the time taken by the start process service.
Thank you!
Discussion posts and replies are publicly visible
Can you give more context? What is each process doing? Why do they need to be chained? How long is it taking?
Added to this, generally speaking Chaining will not be relevant to a Start Process SS - since it launches asynchronously the most you'd expect from this is if a user happens to chain from a prior task and into a new task (where the intermediary steps included a Start Process node); I bring this up mainly because it seems like OP might be under the mistaken impression that a user would be able to chain "into" the "Start"ed subprocess, which of course is outright incorrect.
Hi Peter, The parent process is passing four parameters which is being used in child process through start process smart service. It is taking around 12 sec at this node. The child process is used to write to db tables using write to multiple smart service.
Hi Mike, After removing the chaining it is taking the same time even.
I made no claims that removing chaining would make anything faster here. My primary guess is that the chaining is irrelevant in the first place.
Perhaps you could post a bit more detail about what exactly you're trying to accomplish and what issue you're having with it? I still don't understand what use case you're trying to solve here.
Taking a shot in the dark here but if you were on 23.3 you could try having 1 write record node with all your related records.
Otherwise, do you absolutely need all your database write nodes to be synchronous? Could some of them be written asynchronously?
But start process smart service runs asynchronously. Do we need to make the child process asynchronous still?