public String getKey() returns the key for a process. Refers
to a logical process definition, for example, "financialReport". Potentially multiple
versions of this process definition are deployed.
Attention: This method was introduced with SDK version 1.3.
Parameters
None
Returns
Returns a String representing the key of a process.
Example
// get processes List<Process> processes = workflowService.getProcesses(); Log.d(TAG, "Processes..."); for (Process process : processes){ Log.d(TAG, "key: "+process.getKey()); } // end for each process
Would result in output such as the following:
key: activitiAdhoc