Job Step: Job Step ImportCustomObjects

Job Step ImportCustomObjects

Imports Custom Objects.

Execution Context:

Organization or Sites

Parallel Execution:

Not Supported

Always execute on restart:

Supported

Input Parameters

AfterImportFileHandling : String Required

What to do with the import file after successful or failed import.

Allowed Values: Keep, Delete, Archive, Archive Zipped, Archive In Subfolders, Archive Overwrite Existing

Default Value: Archive

ArchiveFolder : String Optional

Folder to store archived import files. Used when 'AfterImportFileHandling' is 'Archive' or 'Archive Zipped'. Folder location relative to 'IMPEX/' folder. If not defined 'IMPEX/archive/' is used.

Default Value: archive

FileNamePattern : String Optional

Regular expression pattern to select import files, e.g. 'import_.*\.xml'. Matching files are imported in alphanumerical order. If not defined, all files in the working folder are imported.

Default Value: .*\.xml

ImportFailedHandling : String Required

The step exit status that will be used when the import process failed.

Allowed Values: ERROR, WARN

Default Value: WARN

ImportMode : ImportMode Required

The import mode.

Allowed Values: Merge, Delete, Replace, Update

Default Value: Merge

NoFilesFoundHandling : String Required

The step exit status that will be used when no matching files were found.

Allowed Values: OK, ERROR, WARN, NO_FILES_FOUND

Default Value: NO_FILES_FOUND

WorkingFolder : String Optional

The folder that contains the import files, relative to the 'IMPEX/src/' folder. If not defined 'IMPEX/src/' is used as working folder.

Exit Status

OK

Used when (1) the import finished successfully, or (2) there are no files and the 'NoFilesFoundHandling' parameter is set to 'OK'.

WARN

Used when (1) there are no files and 'NoFilesFoundHandling' is set to 'WARN', or (2) the import failed and 'ImportFailedHandling' is set to 'WARN'.

ERROR

Used when (1) there are no files and 'NoFilesFoundHandling' is set to 'ERROR', (2) resources could not be locked, or (3) import process failed and 'ImportFailedHandling' is set to 'ERROR'.

NO_FILES_FOUND

Used when there are no files and 'NoFilesFoundHandling' is set to 'NO_FILES_FOUND'.