how to retrieve the child job status for a Groovy DataImportRequest — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood: Oracle Cloud SCM and Purchasing

how to retrieve the child job status for a Groovy DataImportRequest

edited May 27, 2025 4:07PM in Planning 3 comments

When executing a groovy rule using createDataImportRequest() the rule that calls the import will succeed even if the import fails. what is the way to check if the import failed to send an admin notification?

This is the Groovy code we are using

//Groovy to import data from a CSV file using a specific date format, delimiter and other data load options
cube.createDataImportRequest()
.setDataLoadOption(ADD_TO_EXISTING_VALUE)
.setAsoDataValueOption(IGNORE_MISSING_VALUES)
.setErrorFileName("${FileName}.log")
//.importDataFromFile("FinStmt_Import_Test.csv", CELL_FORMAT_WITH_DIM_HEADERS, ',')
.importDataFromFile("${FileName}.csv", CELL_FORMAT, ',')

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!