Is Field Changed
  • 09 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Is Field Changed

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationDatabase

The Is Field Changed step validates if the specified Field Name within the specified Entity has changed.


Properties

Inputs

PropertyDescriptionData Type
Entity IdId of the desired entityString
Field NameThe desired field name to evaluateString



Common Errors

Could not find entity with id 

If the id provided as input is not valid or does not exist, it will cause an error to occur

To correct this, ensure that the entity exists and that the Id is correct

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Is Field Changed 1[IsFieldChanged] in flow [Flow 6]: Exception invoking method IsFieldChanged on class EntitySteps ---> DecisionsFramework.LoggedException: Exception invoking method IsFieldChanged on class EntitySteps ---> DecisionsFramework.LoggedException: could not find entity with id 08dad9f8-315c-1f3b-1f24-2216a008776d at DecisionsFramework.Design.Flow.CoreSteps.DataBase.EntitySteps.GetEntityById(String entityId) at DecisionsFramework.Design.Flow.CoreSteps.DataBase.EntitySteps.IsFieldChanged(String entityId, String fieldName) --- 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