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)
Refresh-TodoList
System
Hi,
I have a workflow after my endtask i want to clear my todo list box . I mean i want to remove all the tasks related to workflow after my endtask.
Currently in my workflow after end task still i am seeing all tasks in my todolist after i do refresh it is clearing.
Is there anyway to clear those task after endtask?
Thanx in advance
Find more posts tagged with
Comments
Bubas_IWOV
Are theses tasks external tasks.
Bruno
Migrateduser
yes it is external task.
Here i am giving my external task followed by submit task
<externaltask name="Approve" owner="__TAG__('iw_user');"
description="Update Successful">
__INSERT__("<areavpath v='$area_vpath'/>");
<successors>
<successorset description="Update Successful">
<succ v="Submit"/>
</successorset>
</successors>
<template_script><![CDATA[
my $filename ="/tmp/xyz.log";
my $contentid;
my $cid;
my $i=0;
foreach my $submit_files (
@submit_file)
{
# check if the file is a dcr
if (`$iwextattr -g TeamSite/Templating/DCR/Type $iwmount$area_vpath$submit_files`)
{
open(XML, "<$iwmount$area_vpath$submit_files") || die "Cannot open $iwmount$area_vpath$submit_files: $!\n";
my $xml = join ("", <XML>);
close(XML);
my $rootnode = TeamSite::XMLnode->new($xml);
my $contentid = $rootnode->value('Content_Id');
if ($cid != '')
{
$cid = $cid.','.$contentid;
}
else
{
$cid = $contentid;
}
]]></template_script>
__INSERT__("<command v=\'$iwhome/httpd/iw-bin/Ex_Approval.ipl $cid $user '/>");
</externaltask>
<submittask name = "Submit" owner ="__TAG__('iw_user');" start = "f" unlock = "f" override = "f" skiplocked = "f" skipconflicts = "f">
__INSERT__("<areavpath v='$area_vpath'/>");
<successorset description = "Go to EndTask">
<succ v = "End"/>
</successorset>
</submittask>
<endtask name="End"/>
</workflow>
Thanx in advance
johnjamesmarsh
Do you mean you want to refresh the todo list window so that the tasks disappear from view? I don't think you can do that in this version (without some really clever scripting - and if someone has such clever scripting please share it). I think (hope) it will be fixed in the next version though.
faxconnect _runtime.png
Adam Stoller
There's javascript code listed in the Workflow Tutorial document for doing this from a cgitask (worked in WebDeskPro when the document was last updated) - but I'm not sure about being able to do it from any other starting point.
--fish
(Interwoven Senior Technical Consultant)