In my case, i want to make the retries and i tried using the configuration that is in TN, but it doesn’t work in a customized service, the main reason is that i want to catch the errors and send an email to the dba or to me, and know if finally the document was inserted into the db.
I try this and it works but…
– try-catch block –
repeat (on failure)
secuence (exit on success)
secuence (exit on failure)
execsql (insert into the db)
secuence (exit on done)
smtp (send an email to the dba)
branch
var1= 0
do nothing
var1= 1
raise an error
end repeat
If you see, i have to raise an error, but in this case, the catch try block, is used to advise that the db is down, and i need to continue doing the repeat step, and it works, just that throw the error is doing by not good way, i mean, i’m trying to add a letter to a number using addInt function, it raises the error but is not the best way.
What do you think??
pd. sorry for my english.
AC
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB