Hi everyone,
I’m looking for some guidance with a performance issue we’re facing. When the Sales Order workflow (TDSO) is enabled, the performance of the automatic activities drops significantly at the approval stage.
For example, in counter sales orders we have all automatic activities, and everything works fine without the workflow. However, once the workflow is turned on, the process always gets “stuck” for several minutes in the last activity step (order processing). Closing an order now takes anywhere from 2 to 10 minutes.
(At this point this takes from 2 to 10 minutes to get to the next picture. This test was made without extensions)
I’ve tried making invoice launching and invoice creation manual so the order processing can continue afterwards, but it still takes a huge amount of time. After some testing, I’ve confirmed this only happens when the process runs in the background (e.g., after the workflow response or through a web service). If instead I add a button to trigger invoicing and order processing and the user clicks it manually, the process runs normally and closes quickly.
Has anyone else experienced the same issue? Is there a known solution or workaround for this? This situation is really causing us trouble.
Thanks in advance!