Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
external task
Bhargav Coca
I am trying to generate emails to all the approvers selected. Here is my external task which does that. Am i right, if not what the other way of send emails to the reviwers selected.
Thanks
<externaltask name="Email_Reviewer"
owner="__TAG__('iw_user');"
description="Email to Reviewer ( __TAG__('iw_submit_comment'); )">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Author Content Approval">
<succ v="Reviewer"/>
</successorset>
</successors>
<template_script><![CDATA[
for(my $i=0; $i < __ELEM__('reviewer'); ++$i) {
$pred_list .= "<pred v='Review_" . __VALUE__("reviewer[$i]") . "'/>\n";
}
]]></template_script>
__INSERT__(get_cmd("iw_solution_email.ipl", "$pred_list"));
<activation>
<or>
<pred v="Add files"/>
<pred v="AuthorWork"/>
</or>
</activation>
<variables>
<variable key="iw_mailheader_pt" value="reviewer_iwmailheader.tpl"/>
<variable key="iw_mailbody_pt" value="reviewer_iwmailbody.tpl"/>
<variable key="iw_mailbody_text_pt" value="reviewer_textbody.tpl"/>
</variables>
</externaltask>
Find more posts tagged with
Comments
There are no comments yet