Task Engine Issues
Identify issues with the task engine by analyzing business processes that the system isn’t executing.
Context
For example, if you look in the backoffice, you notice that the system continues to create business processes and puts them in a RUNNING state, but the system doesn’t initiate any of their sub tasks. This scenario would leave essential processes in a hanging state and can lead to a negative user experience.
A common reason for this scenario that the task worker pool has become exhausted. The task.workers.max property in SAP Commerce Cloud is set to 10 by default. If the workers execute time-consuming tasks, they can monopolize the pool and leave any new tasks waiting for their turn.
You can use the Threads and Method Hotspots features to perform the following tasks:
- Identify these issues.
- Determine the reasons for the instances of long-running task executions.
- Devise solutions for these issues.

