Updating Job STATUS thru REST API FAILS

1949
2
08-21-2013 06:27 AM
RobinBoyle
New Contributor II
Hi,

I am trying to update the status of a JOB thru the REST API by using the Update REST endpoint; however, this keeps failing...

Example:
http://<myserver>/arcgis/rest/services/Workflows/QuickStart_WorkflowManagerService/WMServer/jobs/job/1009/update?f=json&properties={???status???:23}

???where 23 is the OOTB status of ???Working???.

I get the following error:
{???error???:{???code???:400,???message???:???Access denied.???,???details???:[]}}

Does this infer permissions?  I have UpdateProperties permission on this user, but is there another that I need?

Workflow Manager for Server 10.1...

Many thanks in advance!
Robin
0 Kudos
2 Replies
RobinBoyle
New Contributor II
MORE INFO:

I also added the &user=myuser to the REST URL.  (Obviously 'myuser' isn't the actual value I used...)

http://<myserver>/arcgis/rest/services/Workflows/QuickStart_WorkflowManagerService/WMServer/jobs/job/1009/update?f=json&user=myuser&properties={�??status�?�:23}

This returned a result of "success": "true".  BUT the database table never gets updated...

Robin

Hi,

I am trying to update the status of a JOB thru the REST API by using the Update REST endpoint; however, this keeps failing...

Example:
http://<myserver>/arcgis/rest/services/Workflows/QuickStart_WorkflowManagerService/WMServer/jobs/job/1009/update?f=json&properties={�??status�?�:23}

�?�where 23 is the OOTB status of �??Working�?�.

I get the following error:
{�??error�?�:{�??code�?�:400,�?�message�?�:�?�Access denied.�?�,�?�details�?�:[]}}

Does this infer permissions?  I have UpdateProperties permission on this user, but is there another that I need?

Workflow Manager for Server 10.1...

Many thanks in advance!
Robin
0 Kudos
KevinBedel
Esri Contributor
Hi Robin,

This is a known issue with ArcGIS 10.1 Workflow Manager for Server. It has been resolved with ArcGIS 10.2 Workflow Manager for Server.

Kevin
0 Kudos