code: public FlowElement getCurrentFlowElement() {
      if (currentFlowElement == null) {
        String processDefinitionId = getProcessDefinitionId();
        if (processDefinitionId != null) {
          org.activiti.bpmn.model.Process process = ProcessDefinitionUtil.getProcess(processDefinitionId);
          currentFlowElement = process.getFlowElement(getCurrentActivityId(), true);
        }
      }
      return currentFlowElement;
    }
docs: The current flow element, will be filled during operation execution