Hi!
I am using the Author Submit E Mail Workflow on Team site 5.5.2. The E Mail is being sent to the reviewer who is the owner of the area whenever an author submits a task. But in case the reviewer rejects the task, the task goes back in the To Do List of the author but no E Mail is sent to the author indicating pending work. I am logging evey event in /iw-home/tmp/iw_solutions_debug.log but it logs only in case of submission and not in case of rejection. So cant figure out what the issue is ?
Below is an excerpt from author_submit_with_email.wft file:
<workflow name="Author Submit with Email"
owner="__TAG__('iw_areaowner');"
creator="__TAG__('iw_areaowner');"
description="__TAG__('iw_submit_comment');">
<externaltask name="Email_Approver"
owner="__TAG__('iw_user');"
start="t"
description="Please complete the task">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Author Content Approval">
<succ v="Approver"/>
</successorset>
</successors>
__INSERT__(get_cmd("iw_solution_email.ipl", "Approver"));
<template_script><![CDATA[
if (
@submit_file != 0)
{
__INSERT__("<files>\n");
for (my $i=0; $i <
@submit_file; ++$i)
{
__INSERT__("
<file path='$submit_file[$i]' " .
"comment='__TAG__(File_comment_$i);'/>");
}
__INSERT__("</files>\n");
}
]]></template_script>
<activation>
<pred v="AuthorWork"/>
</activation>
<variables>
<variable key="iw_mailheader_pt" value="reviewer_iwmailheader.tpl"/>
<variable key="iw_mailbody_pt" value="reviewer_iwmailbody.tpl"/>
</variables>
</externaltask>
<usertask name="Approver"
owner="__TAG__('iw_areaowner');"
description="Author Content Approval"
readonly="t">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Approve">
<succ v="Submit"/>
</successorset>
<successorset description="Reject">
<succ v="AuthorWork"/>
</successorset>
</successors>
<activation>
<pred v="Email_Approver"/>
</activation>
</usertask>
<usertask name="AuthorWork"
owner="__TAG__('iw_user');"
description="Author Work">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Done">
<succ v="Email_Approver"/>
</successorset>
</successors>
<activation>
<pred v="Approver"/>
</activation>
</usertask>
<submittask name="Submit"
owner="__TAG__('iw_areaowner');"
description="Content Submission"
unlock="t"
savecomments="t">
<areavpath v="__TAG__('iw_workarea');"/>
<successorset>
<succ v="End"/>
</successorset>
<activation>
<pred v="Approver"/>
</activation>
<variables>
<variable key="submit_cmt" value="__TAG__('iw_submit_comment');"/>
<variable key="submit_info" value="__TAG__('iw_info_comment');"/>
</variables>
</submittask>
<endtask name="End">
<activation>
<pred v="Submit"/>
</activation>
</endtask>
In email_map.cfg the following entries are there:
<emailConf>
<user name="raaa" fullname="Reviewer" email="11@abc.com"/>
<user name="acauth" fullname="AC Author" email="22@abc.com"/>
</emailConf>
In case of rejection the no mail comes to
22@abc.comThanks in advance..