Cancel Process
- 03 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Cancel Process
- Updated on 03 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 |
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:
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 ---
Was this article helpful?