- added serverPath, acceptUrl, rejectUrl and ticket params to the invite webscript/workflow

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Michael Ru
2008-08-20 11:58:11 +00:00
parent b5caf3fdef
commit 2fd6dd1f39
5 changed files with 71 additions and 15 deletions

View File

@@ -18,6 +18,15 @@
<property name="wf:serverPath">
<type>d:text</type>
</property>
<property name="wf:acceptUrl">
<type>d:text</type>
</property>
<property name="wf:rejectUrl">
<type>d:text</type>
</property>
<property name="wf:inviteTicket">
<type>d:text</type>
</property>
<property name="wf:inviterUserName">
<type>d:text</type>
</property>

View File

@@ -39,20 +39,21 @@
+ "To accept the invitation to join the site "
+ "'" + wf_siteShortName + "', "
+ "please follow this link:\n"
+ wf_serverPath
+ "/alfresco/service/api/inviteresponse/accept?format=html"
+ wf_serverPath + wf_acceptUrl
+ "&amp;inviteId=" + workflowId
+ "&amp;inviteeUserName=" + wf_inviteeUserName
+ "&amp;siteShortName=" + wf_siteShortName + "\n\n"
+ "&amp;siteShortName=" + wf_siteShortName
+ "&amp;ticket=" + wf_inviteTicket
+ "\n\n"
+ mail_text_invitee_account_section
+ "To reject the invitation to join the site "
+ "'" + wf_siteShortName + "', "
+ "please follow this link:\n"
+ wf_serverPath
+ "/alfresco/service/api/inviteresponse/reject?format=html"
+ wf_serverPath + wf_rejectUrl
+ "&amp;inviteId=" + workflowId
+ "&amp;inviteeUserName=" + wf_inviteeUserName
+ "&amp;siteShortName=" + wf_siteShortName;
+ "&amp;siteShortName=" + wf_siteShortName
+ "&amp;ticket=" + wf_inviteTicket;
mail.execute(bpm_package);
</script>
</action>