Skip to content

Commit

Permalink
Fixed: wflow-wfengine - processRequesterId is not passes over to exte…
Browse files Browse the repository at this point in the history
…rnal form (#385)

git-svn-id: http://dev.joget.org/svn/jw-community/trunk@201 1bff935d-2fe2-40b7-b00f-c2aca69a7612
  • Loading branch information
owen committed Oct 22, 2011
1 parent cbc230a commit 3611e91
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3072,14 +3072,14 @@ public WorkflowAssignment getAssignment(String activityId) {
WMSessionHandle sessionHandle = sc.getSessionHandle();
WMEntity ent = admin.getActivityDefinitionInfo(sessionHandle, process.key(), activity.key());
ass.setActivityDefId(ent.getId());
ass.setProcessRequesterId(getUserByProcessIdAndActivityDefId(ass.getProcessDefId(), ass.getProcessId(), WorkflowUtil.ACTIVITY_DEF_ID_RUN_PROCESS));

WfRequester requester = process.requester();
if (requester != null) {
boolean isSubflow = (requester instanceof WfActivity);
if (isSubflow) {
WfActivity act = (WfActivity) requester;
ass.setSubflow(true);
ass.setProcessRequesterId(act.container().key());
if (getWorkflowProcessLink(process.key()) == null) {
internalAddWorkflowProcessLink(act.container().key(), process.key());
}
Expand Down

0 comments on commit 3611e91

Please sign in to comment.