I slightly modified HelloWorld example and added a few 5 second waits in between. I invoked the service and in parallel I fired listAllInstances. What I noticed was, in logs I could see new process instance being created but not listed in ListAllInstances output, instead all that was listed were instances in COMPLETED state
Second, Even if I fire suspend and provide iid of the running processes (after looking in the logs) It throws me an exception which says Process "null" does not exist.
I want to know, how can I suspend/resume a running instance using InstanceManagement service?