You are here

hasAllVariables

public boolean hasAllVariables() - indicates whether the process has all its variables populated. Returns true if all variables are present, false if only general variables are provided.
Attention: This method was introduced with SDK version 1.3.

Parameters

None

Returns

Returns a boolean indicating whether the process has all its variables populated or not.

Example


  // get processes
  List<Process> processes = workflowService.getProcesses();
  
  Log.d(TAG, "Processes...");
  for (Process process : processes){
    
    // refresh meta data if required
    if (!process.hasAllVariables())
    {
      Log.d(TAG, "Refreshing process...");
      workflowService.refresh(process);	
    }
  
  } // end for each process