Cancel Process
  • 03 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Cancel Process

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationProcess

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

PropertyDescriptionData Type
Clear DataDetermines if the data is clearedBoolean


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?