Using Groovy to Trigger a Data Management Batch
Summary:
Content (required):
similar to the question posted here
I've setup a connection called "DMJobs"
The connection details as follows using our service account for authentication, which has full admin rights to the planning instance:
I've written the following groovy script to run a batch job in DM
HttpResponse jsonResponse = operation.application.getConnection("DMJobs").post().
body(json(["jobType":"BATCH","JobName":"FCST_PUSH_CUSTOM"])).asString();
The groovy script runs without errors but appears to do nothing - the DM batch isn't executing as I'm not seeing any activity in the process log within DM.
Tagged:
0