You don't use the counter in the Rule Editor. In the When condition inside the Foreach, you would use Segment.{LinkToSER.Identifier}. Below is an example that is similar to what you have.
.png)
- Log in to post comments
You don't use the counter in the Rule Editor. In the When condition inside the Foreach, you would use Segment.{LinkToSER.Identifier}. Below is an example that is similar to what you have.
.png)
For the hurdles section:
For the outstanding questions:
5. In order to run the complete test again where messages are completely reprocessed, you would need to delete the TESTING_NAMESPACE (whatever you called it in the ConfigureNamespace method), copy the original IRIS.DAT from your source to your folder, then start the process again. That clean up could probably be added to the documentation.
That part I am not sure of. I installed 2024.1 on my local computer and ran into the same issue with not being able to change the target. I have %ALL access so I wouldn't think it would be a permissions problem. I briefly demoed it to our developers. Everyone liked the old version better. I turned it off and haven't looked back.
We recently upgraded our environment to 2023.1 which included the new rule editor ui. We immediately disabled the new ui to revert to the version that our team was comfortable with.
https://docs.intersystems.com/healthconnectlatest/csp/docbook/DocBook.U…
I think you should be able to use something like “%PrimaryRequestHeader.SourceConfigName” to access values in the header. I have done it in a rule but haven't tried it in a DTL but I assume it will work the same way.
Update: %PrimaryRequestHeader is defined in Ens.BusinessProcess so I'm not sure you can reference it that way in the DTL.
I have run into the RawContent truncating in the past. We used the code below to open the message using the Message Body ID. We were then able to write the full message to a text file on the server.
set o = ##class(EnsLib.HL7.Message).%OpenId(qMBId)
set tSC = o.OutputToFile(fname)I would guess it has something to do with the system not wanting you to use that account. When I look at the _Ensemble account, it says it is for "Internal use - not for login". I would assume the Locked Down code is now enforcing that restriction. This is based on the error saying "Cannot login as IRIS manager" which is what the account is also labeled. I have never tried to login with _Ensemble before so I'm not sure if it works in a non-Locked Down environment either.
.png)
You can export and import the Business Partners from terminal.
To export you can use the command where FileName is a file where you want the data to be exported to. I usually save it to a .xml file.
do##class(Ens.Config.BusinessPartner).%ExportAll(FileName)Then you can move that file to the other server and import it using the import command. The parameters are:
do##class(Ens.Conifg.BusinessPartner).%Import(FileName,1,0,1)I'm not sure about doing it through the task menu. I would create a custom class that extends %SYS.Task.Definition and then overwrite the OnTask method with whatever custom code you want to run. For example, if you wanted to export your Business Partners to a daily file for some reason. You could use the method below to always pull the current date. Once you have the new class built it will be selectable in the Task Type drop down.
Method OnTask() As%Status
{
set tCurDate = $ZDATE($H,8)
do##class(Ens.Config.BusinessParnter).%ExportAll("C:\TEST\"_tCurDate_"BusinessParnters.xml")
Quit$$$OK
}