HistoricProcessInstance.getSuperProcessInstanceId
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.activiti.engine.history.HistoricProcessInstance.getSuperProcessInstanceId(Showing top 4 results out of 315)

  • Common ways to obtain HistoricProcessInstance
private void myMethod () {
HistoricProcessInstance h =
  • HistoryService historyService;historyService.createHistoricProcessInstanceQuery().processInstanceId(processInstanceId).singleResult()
  • Smart code suggestions by Codota
}
origin: Activiti/Activiti

@Override
public String getSuperProcessInstanceId() {
 return historicProcessInstance.getSuperProcessInstanceId();
}
origin: Alfresco/community-edition-old

public ProcessInfo(HistoricProcessInstance processInstance)
{
  this.id = processInstance.getId();
  this.processDefinitionId = processInstance.getProcessDefinitionId();
  this.startedAt = processInstance.getStartTime();
  this.endedAt = processInstance.getEndTime();
  this.durationInMs = processInstance.getDurationInMillis();
  this.deleteReason = processInstance.getDeleteReason();
  this.startUserId = processInstance.getStartUserId();
  this.startActivityId = processInstance.getStartActivityId();
  this.endActivityId = processInstance.getEndActivityId();
  this.businessKey = processInstance.getBusinessKey();
  this.superProcessInstanceId = processInstance.getSuperProcessInstanceId();
  this.completed = (processInstance.getEndTime() != null);
}
origin: org.activiti/activiti-rest

@SuppressWarnings("deprecation")
public HistoricProcessInstanceResponse createHistoricProcessInstanceResponse(HistoricProcessInstance processInstance, RestUrlBuilder urlBuilder) {
 HistoricProcessInstanceResponse result = new HistoricProcessInstanceResponse();
 result.setBusinessKey(processInstance.getBusinessKey());
 result.setDeleteReason(processInstance.getDeleteReason());
 result.setDurationInMillis(processInstance.getDurationInMillis());
 result.setEndActivityId(processInstance.getEndActivityId());
 result.setEndTime(processInstance.getEndTime());
 result.setId(processInstance.getId());
 result.setName(processInstance.getName());
 result.setProcessDefinitionId(processInstance.getProcessDefinitionId());
 result.setProcessDefinitionUrl(urlBuilder.buildUrl(RestUrls.URL_PROCESS_DEFINITION, processInstance.getProcessDefinitionId()));
 result.setStartActivityId(processInstance.getStartActivityId());
 result.setStartTime(processInstance.getStartTime());
 result.setStartUserId(processInstance.getStartUserId());
 result.setSuperProcessInstanceId(processInstance.getSuperProcessInstanceId());
 result.setUrl(urlBuilder.buildUrl(RestUrls.URL_HISTORIC_PROCESS_INSTANCE, processInstance.getId()));
 if (processInstance.getProcessVariables() != null) {
  Map<String, Object> variableMap = processInstance.getProcessVariables();
  for (String name : variableMap.keySet()) {
   result.addVariable(createRestVariable(name, variableMap.get(name), RestVariableScope.LOCAL, processInstance.getId(), VARIABLE_HISTORY_PROCESS, false, urlBuilder));
  }
 }
 result.setTenantId(processInstance.getTenantId());
 return result;
}
origin: org.activiti/activiti-engine

@Override
public String getSuperProcessInstanceId() {
 return historicProcessInstance.getSuperProcessInstanceId();
}
org.activiti.engine.historyHistoricProcessInstancegetSuperProcessInstanceId

Javadoc

The process instance id of a potential super process instance or null if no super process instance exists

Popular methods of HistoricProcessInstance

  • getEndTime
    The time the process was ended.
  • getId
    The process instance id (== as the id for the runtime ProcessInstance).
  • getProcessDefinitionId
    The process definition reference.
  • getStartTime
    The time the process was started.
  • getDeleteReason
    Obtains the reason for the process instance's deletion.
  • getDurationInMillis
    The difference between #getEndTime() and #getStartTime() .
  • getStartActivityId
    The start activity.
  • getProcessVariables
    Returns the process variables if requested in the process instance query
  • getStartUserId
    The authenticated user that started this process instance.
  • getBusinessKey
    The user provided unique reference to this process instance.
  • getEndActivityId
    Reference to the activity in which this process instance ended. Note that a process instance can hav
  • getTenantId
    The tenant identifier for the process instance.
  • getEndActivityId,
  • getTenantId,
  • getDeploymentId,
  • getName,
  • getProcessDefinitionKey,
  • getProcessDefinitionVersion

Popular classes and methods

  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Format (java.text)
    Format is an abstract base class for formatting locale-sensitive information such as dates, messages
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)