Hi Community,
Enjoy the new video on InterSystems Developers YouTube:
⏯ Rapidly Create and Deploy Secure REST Services on InterSystems IRIS @ Global Summit 2024
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Hi Community,
Enjoy the new video on InterSystems Developers YouTube:
⏯ Rapidly Create and Deploy Secure REST Services on InterSystems IRIS @ Global Summit 2024
I have dynamic sql select query ,
Set resultset = ##class(%ResultSet).%New()
set sql = "SELECT COUNT(*) FROM "_tableName_" WHERE "_fieldName_">='"_fromDate_"' AND "_fieldName_"<='"_currentDate_"'"
SET SC = resultset.Prepare(sql)
SET SC = resultset.Execute(sql)
How can I print/view the count ?
Is there a way to use a property of the type %Persistent class in a
Example:
// Data class
Class PersistentClass Extends %Persistent
{
Property Value As %String;
}// Page class
Class ClassName Extends %ZEN.Component.page
{
Property TestProperty As PersistentClass;
}
The problem is that when using it the described in the example.
The property can be set in a Method like this:
Method DoStuff() As %Status [ ZenMethod ]
{
Set result = ##class(HBS.EnsUtil.CompanyFunctions).GetData(.aVariable) // aVariable is of type PersistentClass
Set .InterSystems FAQ rubric
You can use the WriteToConsoleLog method of the %SYS.System class to write any message to the console log.
The following is an example:
%SYS>write ##class(%SYS.System).WriteToConsoleLog("xxxxx log message",0,0)
1For details on the parameters that can be specified in the WriteToConsoleLog method, please refer to the following document:
Hello,
I tried to define Pool Size in System Default Settings, but it is not being used. I see I am not the first to try this without success:
Define PoolSize as system default value | InterSystems Developer Community
Any suggestions?
Here is my code:
{
s tSC = pRequest.NewResponse(.pResponse)
q:$$$ISERR(tSC) tSC
#dim pRS As EnsLib.SQL.GatewayResultSet
s tSC = ..Adapter.ExecuteQuery(.pRS, "select jsonb_agg(s) #>> '{}' FROM prod.stocks s where s.""Warehouse"" = ?", pRequest.Warehouse)
q:$$$ISERR(tSC) tSC
s pResponse = ##class(Ens.StreamContainer).%New()
s pResponse.Stream = ##class(%GlobalCharacterStream).%New()
i pRS.Next() {
d pResponse.Stream.CopyFrom(pRS
Hey Community,
Enjoy the new video on InterSystems Developers YouTube:
InterSystems Announces General Availability of InterSystems IRIS, InterSystems IRIS for Health, and HealthShare Health Connect 2025.1
The 2025.1 release of InterSystems IRIS® data platform, InterSystems IRIS® for HealthTM, and HealthShare® Health Connect is now Generally Available (GA). This is an Extended Maintenance (EM) release.
Join our next in-person Developer Meetup in Cambridge to explore the latest trends, tools, and features for innovating on health data.
This event will bring you into the conversation on GenAI and the evolution of AI Agents.
Talk 1: From GenAI to Real ROI
Dr. Qi Li will use recent client projects on back office automation using GenAI to achieve meaningful ROI for healthcare organization. He will review the techniques used to address training set limitations. He will also describe real world examples of how to set threshold to maximize benefit and minimize side effects.
Speaker: Dr. Qi Li, M.D.
Hi!
I have installed IRIS 2024.1 in RHEL 9.5, using the following
sudo ISC_PACKAGE_INSTANCENAME="IRISTEST01" ISC_PACKAGE_INSTALLDIR="/iris" \
ISC_PACKAGE_UNICODE="N" ISC_PACKAGE_INITIAL_SECURITY="Normal" \
ISC_PACKAGE_INSTALL_INTEGRATEDML="N" ISC_PACKAGE_MGRUSER="irisowner" \
ISC_PACKAGE_MGRGROUP="irismgr" ISC_PACKAGE_USER_PASSWORD="**************" \
ISC_PACKAGE_IRISUSER="irisusr" ISC_PACKAGE_IRISGROUP="irisgrp" \
ISC_PACKAGE_CSPSYSTEM_PASSWORD="**************" ISC_PACKAGE_WEB_CONFIGURE="Y" \
ISC_PACKAGE_WEB_SERVERTYPE="Apache" ISC_PACKAGE_WEB_APACHE_VERSION="2.Hello interface engineers and app developers,
Did you know that you can use Python in productions or integrations?
The production configuration user interface is low-code, but in many projects, you may reach a point where you need to write some code. As discussed in the Integration Architecture course, business processes are full of places for inserting code, specifically the BPL editor (for BPL business processes) and the DTL editor (for data transformations).
😯 As of InterSystems IRIS 2025.1, both Python and InterSystems ObjectScript are supported in the BPL and DTL editors.
Hi!
I have question about MDX functionality in context of IRIS Analytics.
How does IRIS MDX distinct selection works? Is there any restruqtion when analyzing strings? Like special symbols or length?
Here is an example
I have this data:
6 rows and 2 of them unique
Then we create data cube based on this model and examine it with Analyzer
Detailed listing
6 rows an ONE unique string. Which is obviously not true.
This happed only with string with symbols in it
My task is to get the right amount of unique strings
Are you a developer, data engineer, integration engineer, or data scientist who works hands-on with InterSystems products?
We are conducting 30-45 minute interviews to understand your experience — how you started with InterSystems products, where you find helpful code samples, and how we can improve our products to better support your journey.
✅ If you’re interested, fill out a quick survey to share your contact info and experience.
If you're selected, we will schedule a session at your convenience between April 2 and May 8 for an interview based on the information you provide.
🎁 As a thank-you, interview participants will receive 10,000 Global Masters points!
Your feedback will directly help us improve your experience using InterSystems products and services.
Kindly note that the spots are limited.
Hi all.
I'm trying to create an indexed table with an vector field so I can search by the vector value.
I've been investigating and found that to get the vector value based on the text (token), use a Python method like the following:
ClassMethod TokenizeData(desc As %String) As %String [ Language = python ]
{
import iris
# Step 2: Generate Document Embeddings
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('/opt/irisbuild/all-MiniLM-L6-v2')
# Generate embeddings for each document
document_embeddings = model.Role: Principal Architect and Integration Engineer
Employment Type: Full Time
Note: Expertise in Rhapsody/Intersystems is Mandatory.
Main Responsibilities
Hi,
i'm with a trouble to take the api/monitor/alerts using prometheus.
i'm using prometheus 3.2.1 with IRIS 2022.1, the api metrics is working fine, but with the alerts, i'm receiving the following error:
.png)
and this is the answer in the request:.png)
it apears the iris is not using the right way to answer the OpenMetrics the way Prometheus want.
Someone already see this?
Hi Guys,
I'm looking to create a service to download files from S3, so I used the EnsLib.AmazonS3.BusinessService with settings as below to download files that starts with SMfile_48 but I'm not getting any files, am I missing something?
.png)
Thanks
Hello again IRIS community,
We have officially released our InterSystems IRIS Developer Professional certification exam for beta testing. The beta test will be available until April 20, 2025. As a beta tester, you have the chance to earn the certification for free!
Interested in beta testing? See the InterSystems IRIS Developer Professional Beta Test Developer Community post for exam details, recommended preparation, and instructions on how to schedule and take the beta exam.
Thank you!
Hi All,
After doing IRIS/Ensemble etc for 20 years I've come across a company who have very odd view, especially about DTL's and routers.
They have convinced themselves to use COS for transforms (including HL7) and for routers (and one of their 3rd party providers agree!)
Their reasons are; efficiency, compatibility, flexibility, power and re-usability.
Of course these reasons are wrong!
I was using VSCode to edit a DTL because it seemed easier to copy/paste code from parts of the DTL I was editing. I tried to add <sql> tag and code to call a SELECT statement, but when I compiled I got the following error...
ERROR <Ens>ErrInvalidDTL: Invalid DTL
> ERROR #5490: Error running generator for method 'GetSourceDocType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'
ERROR: Ens.DataTransformDTL.cls(GetSourceDocType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'
> ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.
Hi,
is there a way to starting & stopping Java Server programmatically ?
.png)
Thanks
This can be done with TRY-CATCH:
#dim ex As %Exception.AbstractException
TRY {
//Code that causes an error
}
CATCH ex {
do ex.Log()
}If you use ^%ETN, call it from the BACK entry (BACK^%ETN).
Please also take a look at the related article: How to get application errors (^ERRORS) using a command
Introduction
This is a quickstart guide to IRIS for Linux systems administrators who need to be able to support the IRIS DB as well as other normal infrastructure tasks.
IRIS is a DB system from Intersystems. An IRIS DB can hold code (in the form of a Class) or data (in the form of Globals). IRIS DB are Linux files called IRIS.DAT.
Hi Guys,
For some reason %JavaServer is timing out so after a while I have to stop then start it again to get be able connect to the gateway?
Thanks
Once upon a time in Ensemble Management Portal the pool size of each component (Business Host) within the production was displayed in the Production Configuration page.
This information was very useful, especially when a production have tens or hundreds of components.
.png)
Now days the pool size is no longer displayed in the Production Configuration page and to get the pool size you need to click in each and every host in your production.
What if you have hundreds of business hosts and you need to check the pool size of each? It's a nightmare!
Perhaps this is an issue that has long been discussed somewhere. I have searched for it but still could not find the solution anywhere. In our environment, we send a container of SDA objects to UCR from HealthConnect. To populate the container we do a SQL query on a source system and then populate the appropriate SDA objects. Sometimes it happens that I want to do an update of a field and I want to empty the corresponding SDA field. In other words, send an empty string. The Alert.toTime field of the object in question is filled with the date '2022-11-29Z13:00:00'.
How do you collect stack info when debugging non-interactive jobs?
I cobbled this together today from the docs, but maybe there's something pre-built? LOG^%ETN()?
set stack = ""
for loop=0:1:$STACK(-1) {
set stack = stack _ "Context level:" _ loop _ " Context type: " _ $STACK(loop) _ $c(10,13) _
" Current place: " _ $STACK(loop,"PLACE") _ $c(10,13) _
" Current source: " _$STACK(loop,"MCODE") _ $c(10,13)
}Log meth
Hello there 🙋♂️,
I'm looking towards a functionality alike Python's difflib, but made with Intersystems products. I already know could embed Python code within IRIS but thought maybe there was a development already done for handling deltas, with a different approach or extra utils.
Even if I find such a library after comparing both might still go with difflib or any other more suitable. Intend to use it for a cross-environment checklist/check tool.
Please find below a sample of HTML rendering computed and made with difflib, with a few lines of code:

thanks ! best regards,
Hi Guys,
I get the attached error when trying to populate JSON string into a textarea, I'm running IRIS 2024 in a container in Ubuntu, any clues what could be the problem?
.png)
Thanks