Question
Rick Prichett · Apr 11, 2021

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 {

            }

Product version: IRIS 2020.1
00
1 0 1 52
Log in or sign up to continue

Replies

did you consider using some of the standard MACROS available in Ensemble.inc ?

  • $$$TRACE
  • $$$LOGSTATUS
  • $$$LOGERROR
  • $$$LOGWARNING
  • $$$LOGALERT
  • $$$LOGINFO
  • ....