Trying to send a simple error letting the user know the try did not happen
In this case I am trying to just send a simple error to the log in the event the try is not successful. Have tried a few ideas I have found on the forum but none have worked as of yet.
try {
// Write facility Details to cloned message
set newPV139 = (FacilityNPI1 _"^" _FacilityName _"^" _ServFacility _"^" _FacilityTIN _"^" _FacilityAddressLine1 _"^" _FacilityCity _"^" _FacilityState _"^" _FacilityZip _"^" _CountyName _"^" _FacilityPhone)
set newPV139insert = newrequest.SetValueAt(newPV139, "PV1:39(1)")
}
catch exception {
}
did you consider using some of the standard MACROS available in Ensemble.inc ?