getJobCount

Returns the number of jobs that have the specified parameters.

Applies to Clouds and Integration Appliances.

Parameters:

projectName
The name of the project that contains the configuration where the jobs run.
version
The version number of the project.
configName
The name of the configuration that contains the orchestration where the jobs run. For the default configuration, this value should be 'Default'.
orchName
The name of the orchestration where the jobs run.
jobId (optional)
The ID of the jobs for which a count is returned.
jobKey (optional)
The job key for the jobs for which a count is returned.
minStartDate
The earliest date that the jobs started.
maxStartDate
The latest date that the jobs started.
status
The status of the jobs.

–Setting status as negative gets all status.

–Setting specific status value gets jobs with that status:
  • SUCCESS = 0
  • ERRORED = 1
  • RUNNING = 2
  • CANCELLING = 3
  • TERMINATED = 4
  • CANCELLED = 5
  • SUSPENDED = 6
  • CRASHED = 7
  • SUSPENDING = 8
  • UNKNOWN = 101
Returns:
The number of jobs.



Feedback | Notices


Timestamp icon Last updated: Wednesday, December 16, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00131.html