In my workflow I have two external tasks and I am submitting 2 files to staging with “Add Files” external task and it works fine because this is a start task. But I need to add/submit some files with another external task “Update Contents” which is not a start task. I am getting this error "cannot add File to Update Contents because this is not start task". Is there any way to do that?? Please let me know..
<externaltask name="Add Files"
owner="__TAG__('iw_user');"
start="t"
description="Please complete the task">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Email Notification">
<succ v="Update Contents"/>
</successorset>
</successors>
<template_script><![CDATA[
if ($iw_send eq "yes") {
__INSERT__(get_cmd("email.ipl",
@iw_sendall));
} else {
__INSERT__(get_cmd(""));
};
# insert file list if we have it
$todayDate = currDate();
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__(" <file path='Common/global/index.htm' " . "comment=''/>");
}
__INSERT__("</files>\n");
}
]]></template_script>
</externaltask>
<externaltask name="Update Contents"
owner="__TAG__('iw_user');"
description="Update Content Page">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset>
<succ v="Submit"/>
</successorset>
</successors>
<template_script><![CDATA[
__INSERT__(get_cmd("iw_news_update.ipl"));
]]></template_script>
<activation>
<pred v="Add Files"/>
</activation>
</externaltask>