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

建议IWorkflowSession增加如下方法 #14

Open
GoogleCodeExporter opened this issue Oct 16, 2015 · 2 comments
Open

建议IWorkflowSession增加如下方法 #14

GoogleCodeExporter opened this issue Oct 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

/**
     * 返回某个操作员在某流程中的待办工作项
     * Addtional Patch
     *
     * @param actorId   操作员Id
     * @param processId 流程Id
     * @return
     */
    List<IWorkItem> findMyTodoWorkItemsByActorIdAndProcessId(String
actorId,String processId);

    /**
     * 返回某个流程实例中的所有已办工作项
     * Addtional Patch
     * 
     * @param processInstanceId 流程实例Id
     * @return
     */
    List<IWorkItem> findHaveDoneWorkItemsByProcessInstanceId(String
processInstanceId);

Original issue reported on code.google.com by winst...@gmail.com on 17 Nov 2009 at 9:07

@GoogleCodeExporter
Copy link
Author

这个在IPersistenceService里面有,你可以直接使用。

需要添加到IWorkflowSession,你有什么特殊用途吗?

Original comment by lifw555@gmail.com on 18 Nov 2009 at 1:43

@GoogleCodeExporter
Copy link
Author

List<IWorkItem> findMyTodoWorkItemsByActorIdAndProcessId(String
actorId,String processId);
在IPersistenceService里面确实有一个三参数的方法可以用,但是
List<IWorkItem> findHaveDoneWorkItemsByProcessInstanceId(String
processInstanceId);
我并没有看到明确的可以用的方法。难道
public List<IWorkItem> findHaveDoneWorkItems(String actorId,String
processInstanceId);这个方法的actorId可以为空?并没有明确说明啊

Original comment by winst...@gmail.com on 18 Nov 2009 at 2:27

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

No branches or pull requests

1 participant