Hi Marc
We had to do something similar and just extended the inbound adapter.
Cheers
Neil
Method OnTask()
As %Status
{
set tSnapShot =
##class(EnsLib.SQL.Snapshot).%New()
set tSnapShot.MaxRowsToGet = -1
// we have to replace the parameter in the query ourselves
set sQueryToUse =
$Replace(..Query,"?","'" _
..LastRun _
"'")
$$$TRACE(sQueryToUse)
set tStatus = ..ExecuteQuery(.tSnapShot,sQueryToUse)
//s ^iscdlb("number of rows in snapshot") = tSnapShot.RowCount
if $$$ISOK(tStatus)
{
Set tStatus = ..BusinessHost.ProcessInput(tSnapShot)
}
Set ..BusinessHost.%WaitForNextCallInterval=1
Quit tStatus
}
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to
Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to
Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in-Healthcare@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
--- You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.