Delete and Clear Entity
- 28 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Delete and Clear Entity
- Updated on 28 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.0.0 |
Location | Database |
The Delete and Clear Entity step deletes the Entity and clears any associated tables using its data.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Entity ID | The Id of the entity to delete. | String |
Common Errors
entity Id cannot be null
If the entity Id is not correctly mapped, an error will occur.
To correct this, ensure that the mapping for the entity Id is configured.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Delete And Clear Entity 1[DeleteAndClearEntity] in flow [Flow 1]: Exception invoking method DeleteAndClearEntity on class EntitySteps
---> DecisionsFramework.LoggedException: Exception invoking method DeleteAndClearEntity on class EntitySteps
---> DecisionsFramework.LoggedException: entity Id cannot be null
at DecisionsFramework.ServiceLayer.Services.Folder.FolderService.GetEntityByID(AbstractUserContext userContext, String entityID
at DecisionsFramework.Design.Flow.CoreSteps.DataBase.EntitySteps.GetEntityById(String entityId
at DecisionsFramework.Design.Flow.CoreSteps.DataBase.EntitySteps.DeleteAndClearEntity(String entityId)
--- 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?