Resubmitting error messages

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Resubmitting error messages

  • Creator
    Topic
  • #54473
    Mike Strout
    Participant

      I have a knowledge gap when it comes to dealing with messages that land in the error DB. My Infor classes didn’t really cover these very well and the documentation is pretty sparse, so I was hoping someone here could help me out.

      When I get an error, I do the following…

      1. View in Ultra Long Format, Verbose Mode, showing Error Details and Readable Message Flags.

      2. I figure out what is going on and perform the necessary fixes.

      3. I save the error(s) to file

      4. I resubmit the error if necessary.

      5. After successfully resubmitting, I delete the error message(s). I learned the hard way that if I delete at the same time as saving to file, I lose all the meta data associated with the file and if I get pulled away I may forget to where the message needs to be resubmited.

      The second to last step is the one that I struggle with. How do I know to which thread I need to resubmit the message…inbound our outbound? I suppose I could carefully look at the message to see what translations have been applied, but that is a huge pain. Are there some rules of thumb I can use to figure this out?

      Thanks,

    Viewing 2 reply threads
    • Author
      Replies
      • #81622
        Kevin Crist
        Participant

          Not sure if you use smat files or not but that is where i resend the messages from. I view the message same as you and instead of saving to a file i just resend from the smat file after issue is corrected. When trying to resend from a file it always throws me for a loop but resending from a smat file is easier for me with the IB and OB.

        • #81623

          The error database will list the source thread and the destination thread.

          -- Max Drown (Infor)

        • #81624
          Charlie Bursell
          Participant

            Mike the rule of thumb is this.

            As Max said the source and destination will be in the metadata.  But you are also interested in the message state.  If the state is prior to State 7 the message needs to go through xlate so resend through the IB thread.  If after state 2 then the message has been through any IB Tcl procs so you can send post proc.

            If State 7 or greater send through the OB thread as it has already been through Xlate.  If greater than state 10 (State 11) you can send post proc else send pre proc

            Hope this helps

        Viewing 2 reply threads
        • The forum ‘Cloverleaf’ is closed to new topics and replies.