Hi.
attached metadata Workflow was working perfectly and suddenly it start giving following error.
Invalid Workflow
syntax error at line 6
ERROR:00001: Failure in operation
can anybody find the issue..
<?xml version="1.0" encoding="UTF-8" standalone = "no"?>
<!DOCTYPE workflow SYSTEM "iwwf.dtd">
<template_script>
<
irwalk;
use XML::XQL;
use XML::XQL:

OM;
use TeamSite:

CRparser;
use TeamSite:

CRnode;
my $iwhome = TeamSite::Config::iwgethome();
my $iwmount = TeamSite::Config::iwgetmount();
my $submit_cmt = __VALUE__('submit_cmt', 'html');
my
@files=__VALUE__('iw_file');
my $branch = __VALUE__('iw_branch');
my $iw_user = __VALUE__('iw_user');
my $config_files = __VALUE__('config_files');
my $area = __VALUE__('iw_workarea');
my $metadata_capture_ui = "iwmetadata.cgi";
$microsite_read_html = read_microsites();
sub read_microsites {
#doing somthing blaw blaw..............
#return the value;
}
TAG_info(
config_files1=>[
html=>"$microsite_read_html<p> </p> <p> </p> <p> </p> ",
is_required=>'true',
label=>'Select source microsite',
error_msg=>'Please select a microsite from the list',
],
config_files2=>[
html=>"$microsite_read_html",
is_required=>'true',
label=>'Select destination microsite',
error_msg=>'Please select a destination microsite from the list',
],
);
CGI_info();
]]> </template_script>
<workflow name="Author Submit with Metadata" owner="__TAG__('iw_areaowner');" creator="__TAG__('iw_areaowner');"
description="__TAG__('iw_submit_comment');">
<cgitask name="Metadata" start="t" immediate="t" owner="__TAG__('iw_user');" description="Metadata Capture">
<areavpath v="__TAG__('iw_workarea');"/>
<successors>
<successorset description="Set">
<succ v='End'/>
</successorset>
</successors>
<command v="__INSERT__("$metadata_capture_ui");"/>
<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>
</cgitask>
<endtask name="End"> </endtask>
</workflow>