Log mapping failure [message #177544] |
Thu, 15 June 2006 07:45 |
gnuda
Messages: 5 Registered: June 2006
|
Junior Member |
|
|
Hi.
I have a mapping where we do an error check. We have set the Maximum number of errors variable to 0 so that if an error occures that we don't handle the mapping should fail.
First i wonder if a Post Mapping Process will execute even if this happens. And if it it executes...is there any way to get a variable or somethin in to it that says 'FAILURE'.
In my post mapping process i run a stored procedure that logs the execution. If it succeeds it should write 'FINISHED' and if the above happens it should write 'FAILURE'.
Greatful for any help.
|
|
|
|
Re: Log mapping failure [message #177683 is a reply to message #177680] |
Fri, 16 June 2006 01:32 |
gnuda
Messages: 5 Registered: June 2006
|
Junior Member |
|
|
OK...I do log the work flow the same way...byt i want to log the mapping as well.
Should I Use a Transformation activity in the workflow to execute my log proedure in the work flow instead?
|
|
|
|
Re: Log mapping failure [message #177710 is a reply to message #177691] |
Fri, 16 June 2006 03:19 |
gnuda
Messages: 5 Registered: June 2006
|
Junior Member |
|
|
You can set the mapping to execute postmapping on success, on error and always...so that works....But i think i will do another kind of logging instead....
but still...thank you
|
|
|