How to Dynamically Add Metadata from EPBCS to EDMCS Using REST and GROOVY

Featured

Update I have added loops to check the job status for the creation of the attachment and the import of the transactions. Here is an example of the code in groovy def LOOP_STATUS = new JsonSlurper().parseText(jsonResponse.body) as Mapprintln "$RESTSTAGE Status is $LOOP_STATUS.status"while(LOOP_STATUS.status != "COMPLETED") {jsonResponse = operation.application.getConnection("EDMCS").get("/jobRuns/$jobid/result").header("Content-Type", "application/json").asString()LOOP_STATUS = new JsonSlurper().parseText(jsonResponse.body) as Mapprintln "$RESTSTAGE Status … Continue reading How to Dynamically Add Metadata from EPBCS to EDMCS Using REST and GROOVY