Sun Identity Manager 8.1 Web Services

launchProcess Example

The following example shows the typical format for a launchProcess request (View -> Process view).


Example 1–9 launchProcess Request


ExtendedRequest req = new ExtendedRequest();
req.setOperationIdentifier("launchProcess");
req.setAttribute("process", "my custom process");
req.setAttribute("taskName", "my task instance");
ExtendedResponse res = (ExtendedResponse) client.send(req);

where:

The remaining attributes are arbitrary and they are passed into the task.