You are here

getDefinitionIdentifier

public String getDefinitionIdentifier() returns the unique identifier of the process definition associated with the process. The format of the identifier is different depending on whether you are accessing an on-premise server or cloud.
Attention: This method was introduced with SDK version 1.3.

Parameters

None

Returns

Returns a String representing the process definition identifier associated with the process.

Example


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

      

Would result in output such as the following:


defintionIdentifier: activitiAdhoc:1:4