If you have certain leads or contacts with a very high number of tags, scores and activities, you may run into DML row limitations.
How to resolve the issue by reducing the "Batch Size" for the affected workflow step:
(1) Go to Salesforce Setup and search for "Custom Settings".
(2) Open and identify "SW Studio Workflow Options".
(3) Click on "Manage" next to "SW Studio Workflow options".
(4) Identify the workflow step that is causing the error.
(5) For instance, take the workflow “GetProspectsPages” and click on “Edit.”
(6) Note the initial value displayed (e.g., “200”) and divide it by 2.
(7) Update the value accordingly, and ensure you save the changes.
(8) Wait for the new execution to run, which might take a few hours, and check if the issue persists.
(9) If the problem continues, repeat the steps, further reducing the batch size by half. For example, adjust the batch size to “50” if necessary.