Hi,
I am attaching the default workflow with email, which gets triggered upon the close of a DCT. This is done via tt_data in available_templates.cfg.
What happens is that the saved DCR is attached as a link and is sent via email. But what I require is that the new generated html page is sent as a link in the email, instead of the link to the DCR.
This peice of code is used in my wft -
<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>
Its actually taken from the default author assignment with email workflow.
It would be great if someone could help me out on this, as to how to send the generated html pages link in the email.
Thanks,
Abhi