How to get job definition of newly ordered job?

All questions about Control-M jobs definitions
Post Reply
Thangappan
Nouveau
Nouveau
Posts: 1
Joined: 08 Apr 2019 7:12

How to get job definition of newly ordered job?

Post by Thangappan » 08 Apr 2019 7:38

Hello Team,

We are in the phase of automating ad-hoc run of a control-m job through REST API. Currently facing the following issues to achieve that, could you please someone help me on this?

Steps followed:

* Ordered a job using POST /run/order API
- Passed Folder Name and Job Name to be ordered into new folder
- The above step creates a new folder with the given job name inside in it.
* Tried to get the job definition using /deploy/jobs?folder=<folder>&format=XML
- I am not getting the job definition of the newly created job
- Getting the job definition of the existing job already there in control-m before ordering the job

What is the way to get job definition of newly ordered job?
Then I want to remove the IN and OUT condition of the job to run it.

Thanks in advance.

Post Reply