A couple of our queues in Ensemble are reporting a queue count of one however there are no messages in the queue. Does anyone know what the best method is to reset to the queue count back to zero or remove one from the queue count?
![]()
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
A couple of our queues in Ensemble are reporting a queue count of one however there are no messages in the queue. Does anyone know what the best method is to reset to the queue count back to zero or remove one from the queue count?
![]()
Request for getting Audit/Reporting info.
The ask is for a count of inbound messages by distinct identifier.
My challenge is getting the unique identifer out of the RawContent column in the EnsLib_HL7 table.
Wondering if a temp table can be created to store the value then do a join?
In the below example I am wanting to use the 999998 value in the PID.
ROLE SUMMARY
Looking for Interface Developer with Exp in Ensemble,MUMPS & CACHE, you will be responsible to design, develop and implement Application Integration solutions to the enterprise-wide requirements of customers. These solutions deal with major business processes or systems utilized to manage the overall enterprise.
Hello,
Working on to learn very basic CUSTOM Business Service which sends to a EnsLib.File.PassthroughOperation.
But operation is not writing to File and erroring out (No Stream contained in StreamContainer Request")'.
How do convert the object to STREAM and wrap in the StreamContainer so the operation does not error and write to a file.
Thanks.
Persistent Class
Class Hospital.PatientApptRequest Extends %Persistent
{
Property PatientId As %Stream.FileCharacter;
Property PatientName As %Stream.FileCharacter;
This is embarrassing. I should know how to do this but I have forgotten.
I know the slowness of the 'Source' and 'Target' parameters in Message message viewer being slow to load is caused by the Bitmap indices of Ens.MessageHeader.
I know I need to run the 'bitmap index clean up' routine for Ens.MessageHeader to fixed the issue.
What I forget is how to do this?
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
Any advice or suggestions appreciated.
Kind regards,
Stephen

Slowness of the 'Source' and 'Target' parameters in the (portal) Message Viewer is caused by the Bitmap indices of Ens.MessageHeader.
Running the 'bitmap index clean up' routine for Ens.MessageHeader will fix the issue.
I checked with WRC and they advised:
“Yes it is safe to run this tool on a live system. It will eat up 1 CPU and load a lot of data from disk into global buffers so I would suggest running it at a slower time of day.”
To compress the Bitmap indices of Ens.MessageHeader use the terminal to call OneClass():
zn "PRODUCTION"
do ##class(%SYS.Maint.Bitmap).OneClass("Ens.MessageHeader",1,0)
I need to open a Windows explorer window by pressing button on a Zen page.
Is this possible.? I
performed a search but I did not find anything.
The command I used in the terminal was D $zf(-2,"START C:\WINDOWS\SYSTEM32").
I am not sure how to use this in a Zen application.
Any help will be greatly appreciated.
How to set Content-Type header in http outbound adapter. It always sends the content-type as plain text/html. I am uploading a image / Pdf.
Class TEST.BusinessOperation.SaveFile Extends Ens.BusinessOperation
{
Parameter ADAPTER = "EnsLib.HTTP.OutboundAdapter";
Property Adapter As EnsLib.HTTP.OutboundAdapter;
Parameter INVOCATION = "Queue";
Method SaveFile(pRequest As Messages.File, Output pResponse As Messages.SaveFileResponse) As %Status
{
set fileName = pRequest.fileName
set Content = pRequest.fileContent
set tSC = ..Adapter.PutURL(URL,.HttpResponse,"",Content.Read())
}
}
Hi all, My first post. I hope I have created it correctly.
Our team is looking to increase the number of characters in our Ensemble 'Categories' for Services, Processes and operations.
We are doing this to better identify things like Vendor, Message type and integrated application names...
One of our team members thought his might increase processing overhead and a discussion ensued that was not resolved.
I use the window.open javascript command in several of my ZEN applications. I would like the window spawned by window.open to timeout when the original window, that spawned the secondary window, times out. Thank you for all input.
Hi there.
I am dealing with a clinical system that returns a stack trace within the NACK (Specifically, within MSA:3).
Within the stack trace there is an error code I am interested in, and hoped I could use the Reply Code Actions to look for that code within the error by using the "E*<text>" condition to either suspend or accept the response and move on. The problem is, looking at the error within the event log, I can see that the error text is truncated, cutting off the error code I'm looking for within the stack trace.
This Utility creates an xlsx file with the file name provided.
There are mutliple ways to write data to it, I am retrieving it via Sql queries in this example.
Include %occFile Class Utils.XLSX
{
ClassMethod DateTime() As %String [ CodeMode = expression ]
{
$TR($ZDateTime($H,3),"- :")
}
ClassMethod GenerateXLSX(
IsActive As %Boolean,
Output FileName As %String) As %Status
{
Set stream = ##class(%Stream.FileCharacter).%New()
Set tmpFile = ##class(%File).TempFilename("xls") If (IsActive) {
s lutFileName ="Test"_..DateTime()
Set tmpFile = ##class(%File).GetDirectory(tmpFile)_lutFileName_
Hi guys
i'm trying to create a DTL that allows me to merge several OBX segments into one . eeverything in the segments is the same except the values in OBX 5 which id like to all to be merged together
In my production I receive an XLFO stream and I would like to pass that to the FOP pdf rendering engine to produce pdf files .So far in my research that can be achieved through ZEN .
Hi,
I have two rules within a single rule set where I am wanting to set a variable (RuleUserData) (MGH & MGP) to pass into the transform called for each rule. However, the RuleUserData value (MGP) defined in the last rule is being passed in the first rule and into the transform. It appears the last RuleUserData value is utilised for any rules in the entire rule set where as I want to pass the assigned data for each individual rule into the transform being called. Is there any way of doing this outside of using context variables from a BPL?
Have enabled LDAP for our numerous , Ensemble, IRIS and cache instances with many namespaces. All is working fine and the ldap logins work.
But have noticed that the first instance that the user logs into the namespace is assigned to that user, but when that user than logs into another instance the default namespace from the first login is still there and doesn't update to the new namespace.
So this doesn't effect the ldap login but is now effecting the terminal logins where the user is now getting access denied.
Not sure why the first namespace is not being replaced by the current namespace.
Hello,
We have a BPL that returns in Response several %Strings, Dates. When we try to add Array of Objects property to the Response we verified just before the BPL terminates the response object has correct values in all properties including the array. We checked the Count(). It appears that even array of String works correctly but we prefer to pass objects rather than strings.
When it comes to Response Builder in the calling BPL, the array of objects property in callresponse is not a valid oref, it appears to be missing, other properties of types string or date are valued correctly.
I have several business operations that are all pointed to the same http server. Is there a way to set the http server within some sort of properties file or within the objectscript code? I want to be able to set the http server setting once rather than for every business operation. Any advice on how to go about doing this would be appreciated.
I'm a beginner with Health connect. Trying to create a bi-directional interface. is there a specific class I should use on the business operations/services?
Say you have a DICOM document with an input information sequence with many sequence items. You could access every item one by one by looping and querying the path by passing it to the GetValueAt method as demonsrated below.
This works but there are some performance issues on my system if the document has to be read for each query (as far as I know, that is the case on my system). Is there a way of querying a path, which would return the sequence items as an array? I think I am missing something. With 900 items the process takes around 20 seconds currently.
Hi all.
I was wondering if anyone knew if the purge tasks in Ensemble consider a day to be midnight to midnight, or 24 hours from the time of running the task?
Thanks!
InterSystems has corrected a defect that can result in application data integrity issues following an abnormal shutdown.
This problem exists for:
The defect breaks the journal sync guarantee that all updates in the journal buffer have been written to the journal file. The failure is silent: it does not generate an error message and there is no entry about it in any log file.
Has anyone done any integration with Kafka, especially prior to IRIS? If yes what was your experience such as specific pain points to be overcome.
David
I'm looking to see there is a way to create a holding queue in Ensemble. I have a ORM message that is coming into the Engine. I want to convert that message into a ADT^A04. Then send the ADT first and the Original ORM message behind it. How can I hold the Original ORM before I send the ADT message before it?
I use rest service on Health Connect and will has utilized HL7 FHIR for get information of external database. But i don't find exemplo in oficial documentation.
Someone to utilize the HL7 FHIR for info request in to external database?
Hi everybody,
after importing an XML schema from xsd into Ensemble I´d like to add it to my Studio-Project but can´t find the imported schema in the namespace view. For example when working with custom hl7 schema, I could easyly add it to my project under namespace view schemaname.hl7. Is this also possible with xml schema? If so where can I find it on an component level?
kind regards,
sebastian
Hi guys
I have always struggled with this, tended to use workarounds but now decided to hear from more experienced people if this is something I am misunderstanding.
I need to basically add a "send" within the ruleset number 2, but without a need to associate a "when" node to it. Is this possible? What I basically need is to forward messages with status 160 to "ManageEDM" and also regardless of the status, it should get sent to "ManageRIS"
So what I need is the "send" to be present where the green arrow points, not where the red arrow points.
Greetings,
Is there any default exception handling feature available in Zen report? I am working on a report that comprises of several different composites report (%ZEN.Report.Display.composite). I am incorporating several composites into the main Zen report, If any composite fails or encounters an issue such as issue with the sql statement or class method which i am using to fetch the data, the report (pdf) fails and shows a Zen error. It is very hard to find an exact composite or code that causes the error as Zen report displaying a generic Zen Error without any details.
How do I send request on production start?
Here's what I got so far in my production class:
ClassMethod OnStart(pTimeStarted As %String) As %Status
{
job ..InitialTraining()
quit 1
}
lassMethod InitialTraining() As %Status
{
hang 5
set sc = ##class(EnsLib.Testing.Service).SendTestRequest(...)
quit sc
}Is there a better way without hang, etc?