Workflow Instance and History Record Management
Active workflows can create many workflow instances and history records. The following records are usually created when a workflow executes:
-
An instance record is created every time a workflow starts a new execution on a record.
-
A history record is created for every state that the workflow enters and exits for each record on which it executes.
There are several scenarios that can create many workflow instances and history records. The following scenarios are the most common:
-
One-state workflows that run every time a record is displayed. This is the most common cause.
-
Complex workflows that have a lot of states and execute on numerous records.
-
You've used NetSuite for a long time and haven't deleted any workflow instances or history records.
Too many workflow instances and history records can negatively impact NetSuite performance. For example, you may begin to notice slower than usual processing, or unexpected behavior.
You can adjust your workflow settings
You can tweak your workflow settings o avoid the accumulation of too many workflow instances and history records. Use the following best practices:
-
When you create new workflows, consider disabling workflow history or setting it to only save records during workflow testing. For more information, see Disabling History for a Workflow.
-
Regularly delete workflow instances and history records that you don't need. For more information, see Deleting Workflow Instances and History Records.