A workflow that I created is running and doing its job correctly, however it is taking longer than expected to run and is taking even longer each instance. Each instance has the same amount of input.
I am trying to analyze the instances to view the wf activity metrics. (example pic from test instance with tiny input size)
But, since the instance is running for so long, the amount of activity messages seems to be too big to load.
I removed the track tokens activity to try to reduce the amount of overhead.
Is there a way for me to analyze my instance to see what is eating up the resources/load?
Overview of my workflow:
Goal of workflow is to update security trustee for all found entries and their respective shortcuts, if any.
I understand nested loops tend to cause excessive computing so I wouldnt be surprised if they are the cause of this excessice run time. My big O() is rusty.
Advice to improve workflow performance would be much appreciated.
Also please let me know if clarification on the workflow is needed.