[技术讨论] 动态分支的解决方案
founder
2013-12-17
/** * Perform an action on the specified workflow instance. * * @param id * The workflow instance id. * @param stepInstanceId * step instance id, see os_current_step.id * @param actionId * The action id to perform (action id's are listed in the * workflow descriptor). * @param inputs * The inputs to the workflow instance. * @throws InvalidInputException * if a validator is specified and an input is invalid. * @throws InvalidActionException * if the action is invalid for the specified workflow * instance's current state. */ public void doAction(long id, long stepInstanceId, int actionId, Map inputs) throws InvalidInputException, WorkflowException; // create new step and store if (nextStepDescriptor.isDynamicSplit()) { String[] ownerList = owner.split(","); for (String o : ownerList) { if (o == null || o.trim().length() == 0) { continue; } String stepOwnerDesc = StepUserHelper.getStepUsersDesc(o); String stepOwner = "," + o + ","; Step newStep = Step.buildBaseCurrentStep(-1, entry.getId(), nextStep, stepOwner, startDate, dueDate, status, previousIds); store.saveCurrentStep(newStep); } } else { Step newStep = Step.buildBaseCurrentStep(-1, entry.getId(), nextStep, owner, startDate, dueDate, status, previousIds); store.saveCurrentStep(newStep); } |
相关讨论
相关资源推荐
- websocket connection to ‘ws://127.0.0.1:9000/‘ failed: one or more reserved bits are on: reserved1 =
- websocket failed One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1
- webssh(2)各种报错;websocket报错:One or more reserved bits are on: reserved1 = 1, reserved2 = 1, reserved3
- 解决SpringCloud-Gateway转发WebSocket失败问题的过程
- JSwebsocket问题:One or more reserved bits are on: reserved1 = 1, reserved2 = 1, reserved3 = 0
- 解决前端websocket数据帧接收数据大小限制(数据分帧)问题
- JuJu团队12月2号工作汇报
- Reserved-2
- Mina的WebSocket问题排查
- OkHttp实现分析之Websocket