diff --git a/source/java/org/alfresco/repo/invitation/InvitationServiceImpl.java b/source/java/org/alfresco/repo/invitation/InvitationServiceImpl.java index 58de47080d..c9471bb566 100644 --- a/source/java/org/alfresco/repo/invitation/InvitationServiceImpl.java +++ b/source/java/org/alfresco/repo/invitation/InvitationServiceImpl.java @@ -148,13 +148,15 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli /** * Get the names of the workflows which are managed by the invitation service - * @return + * @return the workflows which are managed by the invitation service */ public List getInvitationServiceWorkflowNames() { - List ret = new ArrayList(2); + List ret = new ArrayList(3); ret.add(WorkflowModelNominatedInvitation.WORKFLOW_DEFINITION_NAME); ret.add(WorkflowModelModeratedInvitation.WORKFLOW_DEFINITION_NAME); + // old deprecated invitation workflow. + ret.add("jbpm$wf:invite"); return ret; }