--- title: "Cancel Process" slug: "cancel-process" tags: ["process", "cancel"] updated: 2023-01-03T15:38:52Z published: 2023-01-03T15:38:52Z canonical: "documentation.decisions.com/cancel-process" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Cancel Process | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | Process | The **Cancel Process** step is used to stop and clear data (if desired) from a Decisions Process. The step can be placed after a portion of a Process, thereby rendering that Process Data null and void and preventing it from progressing any further. The step determines whether or not to clear the data based on a user input boolean value. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Clear Data | Determines if the data is cleared | Boolean | ## ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1672759305726.png) --- ## Common Errors ### Index was outside the bounds of the array If the Clear Data field is not set, an error will occur. To correct this, ensure that the field is mapped to Constant mapping. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Cancel Process 1[CancelProcess] in flow [Flow 2]: Exception invoking method CancelProcess on class InfrastructureStepMethods ---> DecisionsFramework.LoggedException: Exception invoking method CancelProcess on class InfrastructureStepMethods ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at DecisionsFramework.Design.Flow.CoreSteps.InvokeMethodUtility.ThrowErrorIfNullIsNotAllowed(MethodInfo methodInfo, Object[] parameterValues, String errorMessage at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Setup Process Folder](/setup-process-folder.md) - [Save Process Data](/save-process-data.md) - [Set Process Name](/set-process-name.md) - [Set Process Type Name](/set-process-type-name.md)