Reset Process Instances
When testing process flows, you may need to restart from scratch. The Lowgile runtime persists process instances, including running and completed workflows, which can affect subsequent tests.
- You want to restart a workflow from the beginning,
- Existing tasks are interfering with testing, or
- You have updated the process model and need to retest from a clean state.
This guide shows how to remove these process instances before retesting.
Open the Lowgile console
Section titled “Open the Lowgile console”Use the Lowgile console to run system commands in the current environment.

Open console button located in the top-right corner of the design editor header bar
- Open the application in the Lowgile design editor.
- In the top-right corner of the header bar, click the Open console button.
Delete all process instances
Section titled “Delete all process instances”Run the following command in the console (when it opens):
Sys.Process.deleteAllProcessInstances()What this does
Section titled “What this does”This command deletes all process instances in the current environment:
- Removes all running workflows,
- Removes all completed workflows, and
- Deletes associated task instances.
After running this command, you can start testing your workflow again from a clean state.
Attention
This command permanently deletes all process instances in the current environment. Only use this in development or test environments.