richard.ukans

Set step as current via Rest

Discussion created by richard.ukans on Apr 2, 2014
Latest reply on May 12, 2014 by MBroadbent-esristaff
I'm having trouble setting a step as the current step from the rest service (10.2 build 3096).  From the url "/jobs/job/<JOBID>/workflow/steps/step/<STEPID>/setAsCurrent?user=<USERNAME>&f=pjson" I get response:
{
 "error": {
  "code": 400,
  "message": "Unable to complete operation.",
  "details": [
   
  ]
 }
}


This same action works fine from the Workflow Manager client application but I need to be able to send this request through the rest service.  The workflow has advanced several steps past the step that needs to be set as current but the user should be able to reactivate the step of interest at any point in the workflow before the close job step.

Any help on this is much appreciated!
Thanks in advance!

Outcomes