Need Suggestions

Clovertech Forums Cloverleaf Need Suggestions

  • Creator
    Topic
  • #117306
    Collin Praster
    Participant

      I currently have a thread that is sending an order message and a cancel message to the same port, but the down stream system doesn’t allow that any more so I have to split the cancel to another port.  What would you suggest to make this the easiest on myself with out having to build a new translate and test.

      Attachments:
      You must be logged in to view attached files.
    Viewing 4 reply threads
    • Author
      Replies
      • #117308
        David Barr
        Participant

          Make a copy of the thread for the cancel message. Write a custom trxid proc to determine which thread to route to.

        • #117309
          Paul Bishop
          Participant

            Send the order message to both threads/ports and have a pre-proc on each route.   the pre-proc will accept a two value argument (KILL CONTINUE or CONTINUE KILL) and the proc will check for the cancel and take the action indicated in the first position, otherwise take the action in the second position.  1 proc, two purposes.

            • This reply was modified 4 years, 5 months ago by Paul Bishop.

            Paul Bishop
            Carle Foundation Hospital
            Urbana, IL

          • #117311
            Jim Kosloskey
            Participant

              If you are creating the mesages in an Xlate and are on Cloverleaf 6.0 or later look at the re-route function.

              I have a Word Document Precis I wrote for the staff at MDACC explaining how to do that.

              email me if you would like that Precis.

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

            • #117314
              Collin Praster
              Participant

                I am  still on 5.8, thank you for the suggestions!

              • #117315
                Jim Kosloskey
                Participant

                  Well check anyway. I have not used 5.8. We went from 5.6 to 6.0.

                  Maybe re-route is supported in 5.8.

                  I think that might be more straightforward if you have it.

                  email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

              Viewing 4 reply threads
              • You must be logged in to reply to this topic.