Rollback To Step
  • 09 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Rollback To Step

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > Advanced > Debugger

The Rollback To Step step rolls back a Flow to a specified step in the Flow.



Properties

Inputs

PropertyDescriptionData Type
Flow Tracking IdThe desired Flow Tracking IdString
Step Tracking IdThe desired Step IdString


Common Errors

flowTrackingId cannot be null nor empty

If the Flow Tracking Id or Step Tracking Id is null or empty, an error will occur.

To correct this, ensure that the input values are configured or entered correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Rollback To Step 1[RollbackToStep] in flow [Flow 1]: Exception invoking method RollbackToStep on class DiagnosticSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method RollbackToStep on class DiagnosticSteps
 ---> DecisionsFramework.Design.Flow.ContinueNotAllowedException: [ContinueNotAllowedException] flowTrackingId cannot be null nor empty 
at DecisionsFramework.Design.Flow.FlowEngine.RestartAtStep(String flowTrackingId, String stepTrackingId, Type onlyRollbackToType, Boolean throwException, Boolean checkForAssigned, Boolean popInstructions
 at DecisionsFramework.Design.Flow.Service.Execution.FlowExecutionService.RestartAtStep(AbstractUserContext context, String flowTrackingId, String stepTrackingId
 at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.DiagnosticSteps.RollbackToStep(String flowTrackingId, String stepTrackingId)
   --- 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?