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

Using Groovy to Trigger a Data Management Batch

in Planning 24 comments

Summary:


Content (required):

similar to the question posted here

how to trigger data management rule in PCMCS using Groovy in Planning — Cloud Customer Connect (oracle.com)


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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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