public Process getProcess(String processId) returns the
specified process.
Attention: This method was introduced in SDK version 1.3.
Parameters
- String processId
- The process ID of the process to return.
Returns
Returns the specified Process object.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.
Example
// get a process String processId = "30"; // the process identifier Process p = workflowService.getProcess(processId); Log.d(TAG, "Details for process with identifier: "+processId); Log.d(TAG, "identifier: "+p.getIdentifier()); Log.d(TAG, "definitionIdentifier: "+p.getDefinitionIdentifier()); Log.d(TAG, "key: "+p.getKey()); Log.d(TAG, "startedAt: "+p.getStartedAt().getTime().toGMTString());
Returns output such as the following:
Details for process with identifier: 30 identifier: 30 definitionIdentifier: activitiAdhoc:1:4 key: activitiAdhoc startedAt: 30 Oct 2013 09:32:26 GMT