- This topic has 7 replies, 3 voices, and was last updated 6 years, 3 months ago by .
-
Topic
-
Hey! I have searched for previous topics and scoured through anything related to using databases in Cloverleaf. I made many attempts through various levels of success to get the databases working as I need them to, until this point. So I am open to going about this in a different direction or trying something new. So far, most of what I have done works. But…
I am trying to read from a SQL Server 2012 R2 database and send a message based upon the results read.
I am able to get the messages generated, but I cannot figure out how to get the Read Success Action to trigger or how I am supposed to set that up to tell the stored procedure which record I need to make a write to so that it doesn’t send it again.
Read Action setup: Action Options Type: Stored Procedure Content: {call GetHL7MessageToSendSp()} Scope: “Each row as a message” Read Success Action: Action Options Type: Stored Procedure Content: {call MarkHL7MessageDateSentSp( )} I am not sure if
will work here or not. The intention was to see if I could just pass the entire HL7 message back to set it from that. The short list of fields in the table named
[HL7Message]: - MessageId
- The forum ‘Cloverleaf’ is closed to new topics and replies.