mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Continuing refactor of InvitationServiceImpl to use Activiti workflows.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -584,7 +584,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
|
||||
// get workflow instance (ID) that pendingInvite task (in query
|
||||
// result set)
|
||||
|
||||
String workflowId = workflowTask.path.instance.id;
|
||||
String workflowId = workflowTask.getPath().getInstance().getId();
|
||||
// TODO ALFCOM-2597 workflowTask.properties does not contain
|
||||
// custom process values
|
||||
// NominatedInvitationImpl result = new
|
||||
@@ -1007,8 +1007,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
|
||||
|
||||
inviteeUserName = null;
|
||||
|
||||
Set<NodeRef> peopleWithInviteeEmail = this.personService.getPeopleFilteredByProperty(
|
||||
ContentModel.PROP_EMAIL, inviteeEmail);
|
||||
Set<NodeRef> peopleWithInviteeEmail = personService.getPeopleFilteredByProperty(ContentModel.PROP_EMAIL, inviteeEmail);
|
||||
|
||||
if (peopleWithInviteeEmail.size() > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user