获取已分配但未申请的任务列表?
Get a list of tasks which are assigned but not claimed?
使用 activiti-rest 5.16.4,是否可以GET runtime/tasks
一个已分配但未领取的任务列表?
或者我是否必须过滤 GET history/historic-task-instances
结果集?
我的理解是,在Activiti中,分配的任务已经被认领了。
查看 TaskService 的 "claim" 方法的文档:
"Claim responsibility for a task: the given user is made assignee for
the task. The difference with setAssignee(String, String) is that here
a check is done if the task already has a user assigned to it. No
check is done whether the user is known by the identity component."
换句话说,当您调用 "claim" 方法时,任务将从 "unassigned" 过渡到 "assigned"。
使用 activiti-rest 5.16.4,是否可以GET runtime/tasks
一个已分配但未领取的任务列表?
或者我是否必须过滤 GET history/historic-task-instances
结果集?
我的理解是,在Activiti中,分配的任务已经被认领了。
查看 TaskService 的 "claim" 方法的文档:
"Claim responsibility for a task: the given user is made assignee for the task. The difference with setAssignee(String, String) is that here a check is done if the task already has a user assigned to it. No check is done whether the user is known by the identity component."
换句话说,当您调用 "claim" 方法时,任务将从 "unassigned" 过渡到 "assigned"。