Hi
Is there a sample that I can use to create a simple alert code, and do I need to set up or pay a service provider?
Thanks
Hi
Is there a sample that I can use to create a simple alert code, and do I need to set up or pay a service provider?
Thanks
Hi,
We currently have a zen page we created to show all existing tasks and their states (Running or Stopped) as below, is the a way to do the same and create a page where we can list all Business Services of a production, state and to either Stop or restart them?
.png)
Thanks
Hi guys,
Is it bad to have too many Business Services in a production and what's the limit, I'm looking to convert our system tasks (around 30 of them) into Business Services and wondering if it's a better option?
Thanks
Hi guys,
I'm looking to mimic this Post request URL where I'm sending a token :.png)
So I created the below code but I'm getting "HTTP/1.1 405 Method Not Allowed" error
Set Httprequest1=##class(%Net.HttpRequest).%New()
Set Httprequest1.SSLConfiguration="LS2"
Set Httprequest1.Server="myserver.com"
Set Httprequest1.Timeout=30
Set Httprequest1.Https=1
Set Httprequest1.Port=7711
set Httprequest1.ContentType="application/json"
Do Httprequest1.SetHeader("Accept","application/json")
Do Httprequest1.SetHeader("Accept-Language","en_US")
//D Httprequest1.EntityBody.
Hi Guys,
I'm a newbie in term of MQTT clients & brokers, and I've created a MQTT adapter to connect to a broker and I asked our system admin for the user/pass and the URL and this where we got stuck.
The admin is saying that all he has is IP address to the PEM key to the server itself, so my question is, is the broker the server itself and the url is the url to the server or is the Broker an application (eg. Mosquito) that runs in a server and if that's the case and if its Mosquito, where do I find the connection details to it (user/pass & URL) ?
Thanks
Thanks
Hi
How can I set a default value in a dataCombo?
I tried
{
zenPage.getComponentById('mycombo').setProperty('selectedIndex',0);
//zenSetProp('mycombo','selectedIndex',0);
}
and didn't work, I can not use the value property because I don't know what the values in my combo are going to because they loaded
Thanks
Hi Guys,
I've created Business service with MQTT Inbound Adapter and here is my settings, BTW I'm using an IP with port not sure if it must be a url?
.png)
and this is my class:
{ Parameter ADAPTER = "EnsLib.MQTT.Adapter.Inbound"; Method OnProcessInput(pInput As %RegisteredObject, Output pOutput As %RegisteredObject) As %Status
{ set tsc=$$$OK
set ^messageContent = pInput.StringValue
Quit tsc
} }
But I'm getting the below error, not sure what I'm doing wrong?
.png)
Thanks
Hi Guys,
I'm looking to setup an MQTT adapter that also acts as broker to connect directly to an MQTT clients, is there an IRIS adapter or client that can be used as Broker as well?
Thanks
Hi,
My understanding that in IRIS we create an Inbound Adapter that would act like a Broker (connecting to server X) then have an MQTT outbound adapter to receive those messages?
Is there a quick sample that we could user to show how to setup these two Adapters, I started with this but I couldn’t for example find EnsLib.MQTT.Adapter.Inbound

and I guess here where I can set Server X IP & port


Not familiar with MQTT, I appreciate if you could take through how to setup a MQTT inbound & outbound adaptes ?
Thanks
Hi,
My understanding is that IRIS comes with Embedded Python in it, how can create a page using Python instead or Zen or CSP Pages?
maybe a small sample (like hello python page) to get the idea.
Thanks
Hi
I'm a newbie in productions and I've received the below business operation from a client that I need to include in a production,
.png)
So not sure if I'm supposed to create a new Business operation with a new name and select the class as below but then what's next and what should be the output type in X12 tab or if it should be type
Or should I be ignoring this class for now, create a new business operation called
.png)
Thanks
This might be a dumb question but can we have more than one production in a namespace, because we do have running but I thought that I could create a separate one for another project?
Thx
Hi Guys,
I'm a newbie in Python and I've imported this class from another IRIS and for some reason its get an error on %ToJSON()?
I'm also wondering on the need of importing iris at the top given that this code is already running in IRIS!?
.png)
Thanks
Hi Guys,
I get the below error when trying to compile an imported class in IRIS, it compiles if I remove
.png)
Thanks
Getting this error when create a class in IRIS, any clues?
.png)
Thanks
Hi Guys,
Not sure what should be the url format, but I'm using : https://PBS.products.com:2188/ to post to the below Business Service
.png)
But I'm getting "connect ECONNREFUSED 3.209.112.146" error, so am I missing something?
.png)
Thanks
Hi Guys,
I'm running : IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U), and I have https web request call to connect and get data from external server ( https://myserver.com/api/gap/...etc) but I'm getting this error: "fetch failed unable to verify the first
Hi Guys,
I've my users set in Security->Users in SMP, but I get the below error when trying to long in my application, any clues what this error means?
"0 "_$lb($lb(864,,,,,,,,,$lb(,"US-SERENITY",$lb("e^UsersCSPLogin+87^%SYS.SECURITY^1","e^CSPLogin+103^%SYS.cspServer^1","e^CSPDispatch+909^%SYS.cspServer^1","d^CSPDispatch+907^%SYS.cspServer^1","d^ProcessRequest+1^%CSP.Session.1^1","d^Request+692^%SYS.cspServer2^1","d^Request+25^%SYS.cspServer2^1","d^ProcessRequest+1^%CSP.Request.1^1","d^css+15^%SYS.cspServer2^1","d^Server+64^%SYS.SERVER^2","d^^^0"))))
BTW my login page extends
Thanks
Hi,
After converting from Ensemble 2018 to IRIS 2024 I noticed that HTML tag is not recognized?
.png)
I just copied & pasted this same from Ensemble to IRIS and in Ensemble looks fine!?
.png)
Thanks
Hi,
Using the below code to connect and get data from a server:
{ Method GetUsername() As %String
{
quit ""
} /// Returns the password to use for authentication with the web socket
/// @API.Overrideable
Method GetPassword() As %String
{
quit ""
} Method GetSSLConfiguration() As %String
{
q "RTLS"
}}
{ Method OnOpen()
{
S ^badis("mess",3)=1
if $increment(%ct("O")) set io=$io use 0 write "OPEN",!
Hi Guys,
How can I use this same objectscript principle in embedded python to get the value of each field in my loop?
s sql="SELECT ID, Name, Age FROM Sample.Person WHERE Age="_Myage
Set RS=##class(%ResultSet).%New()
Set Ret=RS.Prepare(sql)
Set Ret=RS.Execute()
While RS.Next()
{
Set name=RS.GetData(2)
}
it should be similar to this example which lists the whole row but how can I get the value of each field or if I can use GetData?
.png)
Thanks
Hi Guys,
I'm getting the below error when trying to train my Model
.png)
This is the table I created my model from
.png)
Thanks
Hi Guys,
I'm a newbie running IRIS in a container (IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U) Thu Nov 14 2024 17:30:43 EST) and trying to setup Python so I can start working on ML & Autosklearn,my understanding is that IRIS already comes with embedded Python but unable to do something like "import pandas as pd" in VSCode which looks like I need install a more complete version of Python or packages, so what I'm missing?
.png)
Hi Guys,
I'm a newbie that doesn't know much about integratedML and looking for a first push into it, I've setup VSCode with my IRIS 2024.3 running in Linux and my understanding is that we can create models using SQL, so first, do I need to setup a specific environment where I can run my SQL commands to create & train Models or just using SMP, and do I need to install or enable Python ..etc things required to setup the environment?
Then if there are easy samples or training materials on how to create, train & deploy my model?
Thanks
Hi guys,
Would like to replace our scheduled Tasks to instead run in a production, so basically the same code running in OnTask () to be instead called in a Business Service (I guess) and use the Interval filed to specify the iteration, so with adapter would be suitable in this case, and I noticed the Schedule filed as well but not sure how to use it?
.png)
Thanks
Hi,
If I map all globals with (*) to a database1, then would like to map specific only some globals eg. MYGLOB* to be located in a different database2, which mapping will override the other, so would all globals that starts with MYGLOB* be placed in database1 or 2?
Thanks
Hi,
How can I query fields by passing them in variable names, eg. I would like to query columns Book & Author fields from eg. the following :
S =var1="Book", var2="Author"
Select var1,var2 from myTables.Books
I tried @var1 or %var1 and didn't work
Thanks
Hi
Is there a way to remote connect to IRIS terminal from my local machine?
I can remote connect to Studio & SMP from my locally windows installed IRIS cube to another IRIS installation in a Linux server, but not the case when trying to connect to the Terminal, is there a way to do so? I'm currently using ssh client but that one times out quickly
Thanks
Hi Guys,
Not sure what I'm missing here, I'm using to download files that starts with MTC_88 from S3 bucket using AmazonS3 inboundAdapter as below, but I'm not getting anything and I'm sure there thousands of files that starts with MTC_88
.png)
.png)
and the log is not getting any errors?
.png)
Thanks