Non-Transactional Scheduler Modifiers

The calls below may be made standalone (outside of the transaction context).

This page includes the following:

Requests

You can use the following non-transaction scheduler modifier requests:

HTTP Verb Resource Input Expected Output (HTTP/1.1)
POST /customConditions
{
  “schedulerName” : [String],
  “customConditionType” : [String],
  “jobIdentifier” : [String],
  “dependantJobServerName” : [String],
  “dependantJobIdentifier” : [String],
  “offset” : [String],
  “rebuildJobstreams” : [Boolean],
  “type”: [String],
  “operator”: [String],
  “value”: [Integer],
  “lookbackSec”: [Long],
  "parentJobIdentifier": [String]
}

If a job has a parent, then ‘parentJobIdentifier’ is required.

‘parentJobIdentifier’ is required for IWS/d and IWS/z scheduler types because jobs of these two schedulers have parents always.

Success code: 202 Accepted

Content: {}

POST /customConditions/collection
{“data”:[
{
  “schedulerName” : [String],
  “customConditionType” : [String],
  “jobIdentifier” : [String],
  “dependantJobServerName” : [String],
  “dependantJobIdentifier” : [String],
  “offset” : [String],
  “rebuildJobstreams” : [Boolean],
  “type”: [String],
  “operator”: [String],
  “value”: [Integer],
  “lookbackSec”: [Long]
},{
  “schedulerName” : [String],
  “customConditionType” : [String],
  “jobIdentifier” : [String],
  “dependantJobServerName” : [String],
  “dependantJobIdentifier” : [String],
  “offset” : [String],
  “rebuildJobstreams” : [Boolean],
  “type”: [String],
  “operator”: [String],
  “value”: [Integer],
  “lookbackSec”: [Long]
}
]}

Success code: 202 Accepted

Content: {}

DELETE /customConditions/{conditionId} n.a.

Success code: 202 Accepted

Content: {}

POST /jobs/{jobId}/predictedDuration
{
  “jobId” : [String],
  “duration” : [String],
  “description” : [String],
  “expiration” : [Long]
}

Success code: 201 Created

Content:

{
  "jobName": [String],
  "schedulerName": [String],
  "description":[String],
  "duration": [String],
  "expirationTime": [String]
}
PUT /jobs/{jobId}/predictedDuration
{
  “jobId” : [String],
  “duration” : [String],
  “description” : [String],
  “expiration” : [String]
}

Success code: 200 OK

Content:

{
  "jobName": [String],
  "schedulerName": [String],
  "description":[String],
  "duration": [String],
  "expirationTime": [String]
}
DELETE /jobs/{jobId}/predictedDuration
{
  “jobId” : [String]
}

Success code: 204 No Content

Content: {}

PUT /schedulers
{
  “name” : [String],
  “online” : [Boolean]
}

Success code: 201 Created

Content:

{
  “schedulerId”: [String]
}

Non-Transactional Scheduler Modifier Data Dictionary

  • name

    Allowed values: Name of scheduler in JAWS

  • online

  • schedulerName

    Allowed values: Scheduler name of successor job

  • schedulerId

    Allowed values: Any valid JAWS schedulerId

    Notes: Only Application Landscape is supported now.

  • customConditionType

    Allowed values: jobDependency, hardStart,jobTrigger,datasetCreating

    Default: jobDependency

  • jobId

    Allowed values: Job id

    Notes: Only Application Landscape is supported now.

  • jobIdentifier

    Allowed values: Successor job identifier

  • dependantJobServerName

    Allowed values: Predecessor job server name

  • dependantJobIdentifier

    Allowed values: Predecessor job identifier

  • offset

    Allowed values: duration

  • rebuildJobstreams

    Allowed values: boolean

    Notes: Must be called once for a set of added conditions for the conditions to be used when associating jobs in jobstreams.

  • type

    Allowed values: s,f,t,e,success,failure,terminated,exitcode

    Notes: For Application Landscape, any valid state for the scheduler type is valid, and no abbreviation is allowed.

  • operator

    Allowed values: <,<=,>,>=,=,!=

  • value

    Notes: Value of exit code to compare to

  • lookbackSecs

    Allowed values: Long value in String

  • within

    Allowed values: duration

    Notes: For Application Landscape only. Within which the condition is valid for. If not set, default within value is set in parameter ‘withinDefaultForAppLandscape’.