To start a suspended process instance, perform the following
tasks:
Include project files.
Create a ProcessManager Client API object.
Suspend the process instance.
Include project files
Include necessary files into your development
project. If you are creating a client application by using Java,
include the necessary JAR files. If you are using web services,
make sure that you include the proxy files.
Create a ProcessManager Client API object
Before you can programmatically
search for process instances, you must create a TaskManagerQueryService object.
Start the suspended process instance
To start a process instance,
ensure that it is a suspended or suspended state. If you attempt
to start a process that is not in one of these states, you will
create an exception.