ArcGIS Workflow Manager API - searchJobs method error

445
1
Jump to solution
02-10-2023 10:48 PM
sirishb
New Contributor III

Hi All,

We are using ArcGIS enterprise version: 10.9.1 and ArcGIS Workflow Manager API

Created two jobs in WFM and created parent child relationship between two jobs.

Using 'ArcGIS Workflow Manager API', when we pass the child jobid to 'getJob' method, we are able to see 'parentJob' id in the results.

sirishb_0-1676097533512.png

When we try to use 'searchJobs' method and pass the fields parameter with 'parentJob', getting error

sirishb_1-1676097688117.png

 

If we exclude 'parentJob' in the fields parameter, getting results.

Ex:  "fields": ["jobId"]

We are experiencing the same behavior when we use "ArcGIS API for Python" also.

Is this expected behaviour.

@JFarmer ...Any suggestions please. Thanks.

Regards,

Sirish

0 Kudos
1 Solution

Accepted Solutions
sirishb
New Contributor III

After spending a lot of time on this, found that "parent_job" is returning valid results.

e.g. "fields": ["parent_job"]

Apparently "parentJob" was supposed/expected to work, as it was part for "getJob" API results.

 

View solution in original post

1 Reply
sirishb
New Contributor III

After spending a lot of time on this, found that "parent_job" is returning valid results.

e.g. "fields": ["parent_job"]

Apparently "parentJob" was supposed/expected to work, as it was part for "getJob" API results.