You are here

getPriority

public Integer getPriority() - returns the priority of the process.
Attention: This method was introduced with SDK version 1.3.

Parameters

None

Returns

Returns an Integer representing the process priority, high, medium, or low.

Example


  // get processes
  List<Process> processes = workflowService.getProcesses();
  
  Log.d(TAG, "Processes...");
  for (Process process : processes){
    
    Log.d(TAG, "priority: "+process.getPriority());
  
  } // end for each process

      

Would result in output such as the following:


  priority: 1