Is Complete With Sub State
  • 05 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Is Complete With Sub State

  • Dark
    Light

Article Summary

Step Details

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

The Is Complete With Sub State step requires the process folder to run. This step is a Rule that determines whether a process is completed. This step utilizes an input of State and Sub State both in (String) and offers two options: True and False.



Properties

Inputs

PropertyDescriptionData Type
StateThe State of a ProcessString
Sub StateThe Sub State of a ProcessString


Common Errors

State not found /[Name]

If the State or Sub State value does not exist or if the value is null, an error will occur.

To correct this, change the length or the starting index not to exceed the input's length.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Is Complete With Sub State 1[IsCompleteWithSubState] in flow [Example]: Exception invoking method IsCompleteWithSubState on class SubStateSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method IsCompleteWithSubState on class SubStateSteps
 ---> DecisionsFramework.LoggedException: State not found /Progressing at DecisionsFramework.Design.Flow.CoreSteps.SubStateSteps.IsCompleteWithSubState(String state, String subState)
   --- 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?

What's Next