You observe K2 Five Workflow loop slowness and need to troubleshoot it. Consider the following examples:
This may require some generic approaches to troubleshoot workflow execution speed.
1. Depending on your data source you may want to check slowness on the data source side first (e.g. if SQL Server acts as data source check performance there, and then measure performance of SmartObject calls in the Tester Tool) - you may need to do some optimization on the data source level.
2. Analyze the workflow design - if you loop through SmartObjects doing multiple SmartObject calls, then try to do your math calculating the total number of calls within the loop taking into account individual call(s) execution time.
3. If steps described above do not give you any hints on workflow slowness you can try to troubleshoot/debug this by means of adding a new SmarObject call (Create) on various workflow steps. This will give you a "logfile" in the SmartObject which you may want to create with the following properties:
- What / Action / Comment.
Having this SmartObject call on multiple steps of the workflow you can see with time stamps how your workflow goes through different steps. This would give you some indication of what happens exactly and when it happens (date/time). Additionally, you can also use K2 reports to see how long some steps take and then analyze that further.