Hello - I have a question and hope that someone will have time to answer. In our .tpl file we have a command to attach files. I've not done it this way; previously only attaching them via the workflow task.
In the workflow task view both files show as attached but in the deployment log there are no errors but also no files being deployed.
It's our thought that this code snippit, which works on Windows - does not work on our Unix TeamSite box. We are working with a contractor who has asked me to verify but I'm not sure and therefore am asking for your advice.
This is a late-breaking showstopper to rolling out our user acceptance testing and I'm tired and could really use any advice your willing to give.
I'm totally fine being told to go read my manual - as I'm reviewing it now but not seeing what need at least thus far.
thanks, as always for your help
sub AttachFile
{
if (defined $is_preview){return};
my ($file, $comment) =
@_;
if($file ne "")
{
if(-e "$workarea$file")
{
my $ret = TRGcmsTemplating::TRGcmsAttachFiles(GetDCRPath($ENV{'TASKID'}),$file,$comment);
}
}
}