Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

会签任务完成后未创建下一个节点 #81

Open
dn1512 opened this issue Dec 26, 2018 · 10 comments
Open

会签任务完成后未创建下一个节点 #81

dn1512 opened this issue Dec 26, 2018 · 10 comments

Comments

@dn1512
Copy link

dn1512 commented Dec 26, 2018

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

  • 当前使用的UFlo的具体版本号:

2.1.4

  • 遇到的问题详细描述:

UFLO 会签任务 不是最后一个节点 会签任务都完成之后 流程没有创建下一个节点的任务 我需要怎么做?

  • 涉及到的异常信息(完整异常信息):

  • 相关截图:

@dn1512
Copy link
Author

dn1512 commented Dec 26, 2018

流程进行不下去啊

@03131302
Copy link

我也遇到了......流程进行不下去了

@yaakua
Copy link

yaakua commented Mar 21, 2019

遇到同意的问题
image

@hsg77
Copy link

hsg77 commented Apr 6, 2021

我也遇到流程进行不下去的情况,我画的流程为简单的分支+聚合

@hsg77
Copy link

hsg77 commented Apr 6, 2021

image

@hsg77
Copy link

hsg77 commented Apr 6, 2021

`package com.puri.pg.flow.node.qjt;

import com.bstek.uflo.env.Context;
import com.bstek.uflo.model.ProcessInstance;
import com.bstek.uflo.process.flow.SequenceFlow;
import com.bstek.uflo.process.handler.ConditionHandler;
import com.puri.pg.object.yw_qjt;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

//com.puri.pg.flow.node.qjt.day3OverConditionHandler
//请假 3天以上条件判断 处理器 Bean
public class day3OverConditionHandler implements ConditionHandler {
private JdbcTemplate jdbcTemplate;
@OverRide
public boolean handle(Context context, ProcessInstance processInstance, SequenceFlow sflow)
{
String businessId=processInstance.getBusinessId(); //获取业务编号
String days=(String)context.getProcessService().getProcessVariable("days", processInstance);
//
String sql="select * from yw_qjt where ywh='"+businessId+"'";
//jdbcTemplate为空的问题需在resources/context.xml中配置一个bean对象
List<yw_qjt> qjtList=jdbcTemplate.queryForList(sql, yw_qjt.class);
if(qjtList.size()>0)
{
yw_qjt qjt=qjtList.get(0);
float t_days=qjt.sq_days.floatValue();
if(t_days>3.0)
{
return true;
}
}
return false;
}
public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}
}
`

@hsg77
Copy link

hsg77 commented Apr 6, 2021

点完成一个填写请假单的任务后程序不往前推进sq_days=5,填写请假单的任务uflo_task表中state变为Inprogress状态,没有流向分支后的分管经理审核节点

@hsg77
Copy link

hsg77 commented Apr 6, 2021

uflo版本2.1.5

@hsg77
Copy link

hsg77 commented Apr 6, 2021

image

@hsg77
Copy link

hsg77 commented Apr 9, 2021

分支与聚合中间的节点中过期属性设置有问题,设置后或停止启用任务过期功能就正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants