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

Is Complete

  • Dark
    Light

Article summary

Step Details

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

The Is Complete step is a Rule that determines whether a Process is completed. The step offers two resulting paths; one for if the process is complete and one for when it is not. The step utilizes a user input state to evaluate a process's final state.


Properties

Inputs

PropertyDescriptionData Type
StateThe desired State to evaluateString


Common Errors

Incorrect Parameter Count, Data Not Mapped Correctly

If the Length paired with the defined Start Index is longer than the length of the Input, the step will cause an error.

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 1[IsComplete] in flow [Example]: Incorrect Parmater Count, Data Not Mapped Correctly
 ---> DecisionsFramework.LoggedException: Incorrect Parmater Count, Data Not Mapped Correctly
 ---> System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture
 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?