.taskAssignee(Authentication.getAuthenticatedUserId()).addTaskType(TaskInstanceType.FIXFLOWTASK).addTaskType(TaskInstanceType.FIXNOTICETASK).taskIsEnd().list();
String tokenId = taskInstanceQuery.getTokenId();
String nodeId = taskInstanceQuery.getNodeId();
String processDefinitionId = taskInstanceQuery.getProcessDefinitionId();
ProcessInstanceManager processInstanceManager = Context.getCommandContext().getProcessInstanceManager();
String processInstanceId = taskInstanceQuery.getProcessInstanceId();
ProcessDefinitionManager processDefinitionManager = Context.getCommandContext().getProcessDefinitionManager();
ProcessDefinitionBehavior processDefinition = processDefinitionManager.findLatestProcessDefinitionById(processDefinitionId);
ProcessInstanceEntity processInstanceImpl = processInstanceManager.findProcessInstanceById(processInstanceId, processDefinition);
TokenEntity token = processInstanceImpl.getTokenMap().get(tokenId);
ExecutionContext executionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(token);