Forum Replies Created
-
AuthorReplies
-
The biggest problem I have seen with Tcl procs is that they do not address anomalies. People write procs as if they will never fail. You should play devil’s advocate and be able to catch any error, especially file or DB failures. Remember, as Murphy said, anything that can happen usually will happen. Once you catch the errors, how you handle them is up to you. You could write a message to the log file. If you do put a couple of linefeeds before and after the message so it stands out. You could send an email. You could shut down the thread. If you do that I would shut down the process since the process may be busy and not shut down the thread. You can do a combination of these. There is no one size fits all. What you should never do is to allow a failure to come down around your ears. Allow it to fail on your terms. It can be handled.
Totally agree. The preferred outcome is that if a proc fails for one reason or another, the message does not get sent and thread doesn’t stay up. We want it to change thread status to error/down, and queue the message back into it’s original state just before the error (1-11). This way, we’re able to see the error in the process log and perhaps write some TCL in the alert or proc to perform environment checking and proceed if all good.
Email: joshua.cooper@allscripts.com
————————————-
Allscripts
Mobile, ALI would think at the very least you could use winGrep, notepad++, etc to search the Cloverleaf root dir and all sub dirs for the term “create_ack”
- This reply was modified 4 years, 8 months ago by Joshua Cooper.
Email: joshua.cooper@allscripts.com
————————————-
Allscripts
Mobile, ALI am also interested in the decided approach as I’m attempting to use httpclient on 6.0.2 to send Syndromic Surveillance to Alabama Dept of Public Health. We’re transitioning from an ftp to web service. They provided URL (wsdl), Username, Pass, and Location. I feel like I’m almost there but I’m missing something. I used an existing httpclient thread as reference that my predecessor set up. He retired on short notice so I’m new and short on experience with httpclient protocol. I keep getting an error in the process log “httpquery error: httppost requires a ‘DATA’ key”
Email: joshua.cooper@allscripts.com
————————————-
Allscripts
Mobile, ALApril 21, 2020 at 5:34 pm in reply to: Implementing Virginia Syndromic Surveillance ADT via HTTPS #116474I’m currently working on Alabama’s SS ADT setup using httpclient. I hope you got some answers as I see this is fairly old.
Email: joshua.cooper@allscripts.com
————————————-
Allscripts
Mobile, AL -
AuthorReplies