Hi,
I also try to use the “pub.prt.admin:changeProcessStatus” service to mark a process as completed instead of failed.
BUT, I’m not able to launch the service successfully…
I provide the mandatory inputs:
- ProcessInstanceID=501fa7d0-16f4-11e3-89e3-c9c28873d590
- ProcessIteration=1
-
Action=DONE
and I get back a message “[MID=null, MVers=null] Model does not exist.”
so I add others optional inputs:
- ProcessModelID=/<MODEL_NAME>
-
ProcessModelVersion=2
and I get back a message “Process instance 501fa7d0-16f4-11e3-89e3-c9c28873d590:1 does not exist.” (It seems obvious that it will failed, but I have to try)
A call to “pub.monitor.process.instance:getInstance” with the instance ID and I get:
data
- data/instanceID=501fa7d0-16f4-11e3-89e3-c9c28873d590
- data/modelID=/<MODEL_NAME>
- data/modelVersion=2
- data/instanceIteration=1
- data/modelName=<MODEL_NAME>
- data/customID=7304
- data/status=4
Can someone tell me if the input “ProcessInstanceID” of “pub.prt.admin:changeProcessStatus” shall be the “instanceID (501fa7d0-16f4-11e3-89e3-c9c28873d590)” ?
Or how can I retrieve it… Thks