Get Import Directory
  • 04 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Import Directory

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > Advanced > Import - Export

The Get Import Directory step returns the path of the import directory. 



Properties

Inputs

PropertyDescriptionData Type
Input Session IdImport session IdString

Outputs

PropertyDescriptionData Type
OutputThe local import directory pathString

Example Inputs and Outputs

Import Session IdOutput
StartImportSession1_OutputC:\Program Files\Decisions\Decisions Server\Instances\Control\Import\History\01-04-2023-11-45-27
Empty StringEXCEPTION MESSAGE
NullEXCEPTION MESSAGE


Common Errors

Import Session Id must be provided

If there is no value entered or the Import Session Id value is null, an error will occur.

To correct this, ensure that the Import Session Id is entered or mapped correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Import Session Id must be provided 
at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.GetImportDirectory(String importSessionId)



Was this article helpful?