2,552
社区成员




CommandExecutor commandExecutor = taskServiceImpl.getCommandExecutor();
commandExecutor.execute(new JumpTaskCmd(currentTaskEntity, targetActivity, variables));
//execute方法中:
// 完成待办任务
Context.getCommandContext().getTaskEntityManager().deleteTask(taskEntity,
TaskEntity.DELETE_REASON_COMPLETED, false); // DELETE_REASON_DELETED DELETE_REASON_COMPLETED
// 跳转任务
ExecutionEntity execution = taskEntity.getExecution();
execution.setActivity(targetActivity);
execution.performOperation(AtomicOperation.ACTIVITY_START);