Skip Import Entity
- 30 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Skip Import Entity
- Updated on 30 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.12.0 |
Location | System > Advanced > Import - Export |
The Skip Import Entity step reads an Import Session Id and the Entity Id of the entity to exclude during import. It then outputs the list of imported entities that does not include the entity specified by the Entity Id input.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Entity Id | The Entity Id to exclude during import | String |
Import Session Id | Import Session Id | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | List of imported entities | List of ImportSessionEntity |
Example Inputs and Outputs
Entity Id | Import Session Id | Output |
---|---|---|
EntityId | StartImportSession1_Output | List of Imported Entities |
Null Value | Empty String | EXCEPTION MESSAGE |
Empty String | StartImportSession1_Output | EXCEPTION MESSAGE |
Common Errors
Value cannot be null
If the entity does not exist, the step will cause an error.
To correct this, ensure that the entity being passed exist.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Skip Import Entity 1[SkipImportEntity] in flow [Flow 2]: Exception invoking method SkipImportEntity on class ImportExportSteps
---> DecisionsFramework.LoggedException: Exception invoking method SkipImportEntity on class ImportExportSteps
---> System.ArgumentNullException: Value cannot be null. (Parameter 'source'
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate
at DecisionsFramework.ServiceLayer.Utilities.ObjectsImporter.SkipImportEntity(String importItemId
at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.SkipImportEntity(String importSessionId, 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 ---
Import Entity/Session Id must be provided
If either input value is not mapped or entered correctly, an error will occur.
To correct this, ensure that the values are mapped or entered correctly.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Substring 1[Substring] in flow [Display Steps]: Exception invoking method Substring on class StringSteps
---> DecisionsFramework.LoggedException: Exception invoking method Substring on class StringSteps
---> System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length')
at System.String.Substring(Int32 startIndex, Int32 length)
--- 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?