查找

お知らせ
· 2024年8月1日

Recapitulação do InterSystems Developer Community, Julho 2024

Olá e bem-vindo ao Recapitulação da comunidade de desenvolvedores Julho 2024.
Estatísticas gerais
27 novas postages publicadas em Julho:
 12 novos artigos
 13 novos anúncios
 1 nova pergunta
 1 nova discussão
4 novos membros ingressaram em Julho
1,122 postagens publicadas ao todo
585 membros ingressaram ao todo
Principais publicações
Principais autores do mês
Artigos
#InterSystems IRIS
 
#Caché
 
#VSCode
 
#InterSystems IRIS for Health
 
Anúncios
#InterSystems IRIS
 
#VSCode
 
#Developer Community Oficial
 
#Portal de Aprendizagem
 
#HealthShare
 
#InterSystems IRIS for Health
 
#InterSystems Oficial
 
#Supply Chain Orchestrator
 
Perguntas
#Caché
Responsividade de dados em aplicações no terminal.
Por Paulo Henrique Ziemer dos Santos
 
Discussões
Julho, 2024Month at a GlanceInterSystems Developer Community
ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年8月1日

Task running but not executing the code

Hi guys,

Stange problem that I'm facing, when running the below code is inside system task scheduled to run every 5 mins it execute till check("gg")=3, stops at While Rs.Next() and you might thing that's because there no records but yest there records because If I run the same task from the terminal it run fine and process all records, also if I copy the whole code into a classMethod and run the classmethod from the terminal it run fine as well, its only if it runs through the scheduling process or by click run in SMP that runs till check point 3 and doesn't go any further !?   

^check("gg",0)=1_"|"_$J_"|"_$ZU(61)_"|"_$zt($P($h,",",2))
$$$DebugLog("GetJobs","getJobs start onTask "_$G(^STOPGNJ, 0),"")
Quit:$G(^STOPGNJ, 0) $$$OK
Set ^STOPGNJ=1
^check("gg")=1
try{
Set SQL = "Select top 1000 tl.ID,tl.SensorId,tl.SensorType, tl.Loc as Loc from "_
" MSDS_Common.ScheduleTaskList tl"_
" left join MSDS_Common.ScheduleTaskListHistory th on th.ScheduleTask = tl.ID"_
" where %Internal(tl.ScheduledTask)='O' and %Internal(tl.Status)='A' and (%Internal(tl.State)='S' or %Internal(tl.State)='Q')"_
" group by tl.id "_
" order by tl.id desc"

^check("gg2018")=SQL
^check("gg")=2

Set Rs=##class(%ResultSet).%New()
Do Rs.Prepare(SQL)
Do Rs.Execute()
^check("gg")=3
While Rs.Next(){
^check("gg")=4
Set ID=Rs.Get("ID")
Set SensorTag=Rs.Get("SensorId")
Set SensorType=Rs.Get("SensorType")
  Continue:$G(ID,"")="" Continue:$ZCVT(SensorType,"U")="TPROBE" Continue:$G(^StoreJob(ID),"")'="" //Continue:TryCount>=5 //&SQL(SELECT count(*) Set ^StoreJob(ID)=SensorTag_"||"_$zdt($zts,3)
}
}
Catch
{
$$$DebugLog("PushNQL","Exception happened in getjobs task: "_$ZERROR,"")
Stream=##class(%GlobalCharacterStream).%New()
Stream.WriteLine("Something went wrong, error in Get_New_Jobs task, Please have a look.")
Stream.WriteLine("Error Message : "_$ZERROR)
Stream.WriteLine("Error Code : "_$ECODE)
Stream.WriteLine("")
Stream.WriteLine("Thanks,")
Stream.WriteLine("SX3 Support")
MailStatus=##class(SX3.Production.HTTP.GetRequest).SendErrorMail(Stream)
Set ^STOPGNJ=0 } Set ^STOPGNJ=0
 

Thanks

5 Comments
ディスカッション (5)2
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年8月1日

[Vidéo en anglais] Utiliser l'IA générative de manière responsable

Salut la Communauté !

Utilisez-vous des outils d’IA générative pour le développement ? Laissez les principes d’InterSystems vous guider ! 🌟 Découvrez la démarche de l'entreprise :

Using Generative AI Responsibly

Dans cette vidéo, vous aurez un aperçu des principes InterSystems d'utilisation de l'IA générative, incluant:

  • Établir la confiance grâce à la transparence
  • Augmenter l’intelligence humaine
  • Protéger la vie privée
  • Éviter les préjugés

Écoutez @Matthew Sample, conseiller juridique principal et @Jenny Ames, responsable du contenu d'apprentissage en ligne.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年8月1日

[Video] Using Generative AI Responsibly

Hi, Community!

Are you using generative AI tools for development? Let InterSystems principles be your guiding star! 🌟 Learn about the company's approach:  

Using Generative AI Responsibly

In this video, you will get an overview of InterSystems principles for using generative AI, including:

  • Establishing trust through transparency
  • Augmenting human intelligence
  • Guarding privacy
  • Avoiding bias

Hear from @Matthew Sample, Sr. Legal Counsel and @Jenny Ames, Manager of Online Learning Content.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年8月1日

FHIR infostructure for those connecting to External FHIR Repository

As I begin our adventure into using an External FHIR Repository, I wanted to see what opinions people have about a design Idea I was working on. 

I want to create a way that my Team has the ability to send a Message Type, and the system knows from that Message Type which FHIR queries to execute and return the Response back to the user, sort of like a FHIR Query Hub. Does this sound reasonable?

While I know that it can be done directly in Object Script, I was trying to incorporate using a Business Process, and Operation for the Trace elements, since most of my team develops within the Management Portal and not in VS Code.

  • What are folk's thoughts around this idea?

 

  • What has others done when connecting to external FHIR Repositories? 

 

Should I just go down the route of using Object Script and create a Function to do everything above?

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください