The following example shows the typical format for a launchProcess request (View -> Process view).
ExtendedRequest req = new ExtendedRequest(); req.setOperationIdentifier("launchProcess"); req.setAttribute("process", "my custom process"); req.setAttribute("taskName", "my task instance"); ExtendedResponse res = (ExtendedResponse) client.request(req);
launchProcess – Starts the custom processes.
process – Name of the TaskDefinition object in the Waveset repository to start.
taskName – Name of the task needed to start the workflow.
The task instance object holds the runtime state of the process.
The remaining attributes are arbitrary and they are passed into the task.