New post

Find

Digest
· Aug 26, 2024
Article
· Aug 25, 2024 2m read

第七章 设置和其他常见活动 - 从入站消息中检索证书

第七章 设置和其他常见活动 - 从入站消息中检索证书

从入站消息中检索证书

如果收到已进行数字签名的 SOAP 消息,则相关证书可在 %SYS.X509Credentials 的实例中找到。可以检索该证书。操作方法如下:

Discussion (0)1
Log in or sign up to continue
Article
· Aug 25, 2024 1m read

Como registrar e referenciar agendas de tarefas programaticamente

Rubrica do InterSystems FAQ

Aqui, vamos introduzir um código de exemplo para registrar e referenciar agendas de tarefas.

 ①Exemplo de registro de agenda de tarefa

*Crie uma tarefa  para executar ^TEST todos os dias à 1:00 da manhã.

 set task=##class(%SYS.Task).%New()
 set task.Name="MyTask1"
 set task.Description="Execute ^xxx every day at 1:00 AM" // Optional
 set task.NameSpace="USER"
 set task.TimePeriod=0
 set task.DailyFrequency=0
 set task.DailyFrequencyTime=""
 set task.DailyIncrement=""
 set task.DailyStartTime=$ZTimeh("01:00:00")
 set task.DailyEndTime=""
 set task.TaskClass="%SYS.Task.RunLegacyTask"
 set task.Settings=$LB("ExecuteCode","do ^TEST") // Set ExecuteCode for RunLegacyTask
 write task.%Save()

② Exemplo de referência de agenda de tarefa.

*Os conteúdos registrados nessa tarefa são obtidos programaticamente

USER>set task=##class(%SYS.Task).%OpenId(1)
USER>zwrite task
task=<object reference="">[14@%SYS.Task]

+----------------- attribute values ------------------
| %Concurrency = 1
| DailyEndTime = 0
| DailyFrequency = 0
| DailyFrequencyTime = ""
| DailyIncrement = ""
| DailyStartTime = 0
| DayNextScheduled = 63877
| DeleteAfterRun = 0
| Description = "Journal files are switched at midnight every day."

// If you want to refer to individual items, do the following:
USER>write $ZDT(task.DayNextScheduled)
11/21/2015
USER>write task.Name
Journal switching
USER>

Discussion (0)1
Log in or sign up to continue
Question
· Aug 23, 2024

Returning a Response from a Business Process that is not the same Message Type Request

I thought I knew how to return a Response from a Business Process back to the Source Config Name, but I guess not. 

I am working on a Proof of Concept, that the Request Message Class would determine a "Route" within a Business Process to make a FHIR call (search, read) to our External FHIR repository, and return back the HS.FHIR.DTL.vR4.Model.Resource.xxxxxxx as a Response to the Source Config Name.

I have the FHIR part working, however now that I have the data in the form of HS.FHIR.DTL.vR4.Model.Resource.xxxxxxx, I am struggling to understand how I could send it back to the Original Source Config. In theory this sounds ok but when I get to the Management Portal build, I am struggling...

Do I send the FHIR Response to a EnsLib.Msg.RuleEngine? If so, how do I make sure the Request Source Config Name gets forwarded on so the Rules Engine knows where to send the message?

Any Ideas on how I can make this happen?

Discussion (0)1
Log in or sign up to continue
InterSystems Official
· Aug 23, 2024

Anuncio de disponibilidade do Adaptive Analytics 2024.1

A versão 2024.1.3 do InterSystems IRIS Adaptive Analytics já está disponível na página de Distribuição de Software da InterSystems. Esta versão inclui o AtScale 2024.1.3 e um arquivo UDAF (User Defined Aggregate Function) atualizado. Esta versão inclui os seguintes novos recursos de modelagem e BI:

  • Formatação da saída do cálculo com base no campo de entrada em vez de apenas no formato definido no cálculo. Isso é particularmente útil para cálculos que não podem ter um formato de saída padrão, como crescimento ano a ano em dólares, euros ou tempo.
  • Suporte para as seguintes funções MDX: DatesPeriodsToDateDatesMTDDatesQTDDatesWTDDatesYTD.
  • Suporte para a funcionalidade de agrupamento de dimensões de tabela dinâmica personalizada do Microsoft Excel. Isso permite que você crie grupos personalizados no Excel, sem precisar fazer alterações em seus modelos. Essa alteração também inclui suporte para subcubos de sessão, nomeação, totalização, filtragem e desagrupamento.

Para mais detalhes sobre o AtScale 2024.1.3, consulte as Notas de Lançamento

Para mais informações sobre o Adaptive Analytics, consulte a documentação InterSystems e o conteúdo dos serviços de aprendizagem.

#InterSystems Official

Discussion (0)1
Log in or sign up to continue