hi all,
good day!
i have dataflowtask_a and dataflowtask_b
i also have a send mail task
inside dtf_a i have a very long transformation which has 10 lookup task
each lookup task is configured to have an error output. should every lookup
encountered an error, the error output of the
lookup sends a unique error msg per lookup and is appended to a
string variable errorlst. Should dtf-a encounter an error it sets the variable
@.nogo=true.
In the control flow if @.nogo=false it proceeds to dtf_b otherwise it proceeds to
sendmail the consolidate error message.
Questions:
1. I only want to have one unique error message sent per lookup. if there are two
lookup error it should send only one message
2. the message should look like this: "error lookup1 : error lookup2 :and so soon"
how can i do this
thanks!
joey
.
I assume you are using the Script component to append messages to your errorlst variable. If you do, then it should not be a problem to append only the first lookup error.
Thanks.
|||yeah i'm using the script component
can anyone please post a script for
the script component on how to append on a
message on a variable @.errlst with package scope
thanks
No comments:
Post a Comment