go to post Lukasz Migacz · Apr 22 Hi Gary, There are many ways to do it :) For example, if you're using DTL you most likely have a single message level transform and multiple segment level transforms. In the message level transform you can add a code block and save a value of PV1:2 in a variable. Then you can pass that variable to a sub-transform (segment level transform) as Auxiliary value. Then in your OBX transform, you can use that aux variable as a condition to "if" or "switch" statement. Details for Other Actions | Developing DTL Transformations | InterSystems IRIS Data Platform 2025.1 Let me know how it went. :)
go to post Lukasz Migacz · Apr 16 Hi Brett, I edited .code-workspace by replacing "isfs-readonly" with "isfs" and it worked. Thank you! I also found clarification here: Edit Code Directly on an InterSystems Server | Use Visual Studio Code as a Development Environment for InterSystems Applications | InterSystems Components and Tools
go to post Lukasz Migacz · Apr 10 I did something similar by saving OBX segments in %Library.ListOfObjects %Library.ListOfObjects - InterSystems Supply Chain Orchestrator 2024.1 - including private class members I would say: Create an empty OBX segment object Use iterator "i" to Iterate over all the OBXs in the source message OBX group while checking if OBX:5 contains "Total" string, If yes, save an index of this OBX in a list/array %ArrayOfDataTypes = IndexList, and increase the iterator "i" by 1 At the same time copy each OBX segment from a source message as a segment object in a list of objects, use %Library.ListOfObjects = ObjectsList at the index "i". When all OBXes are copied across, then use InsertAt() to insert empty OBX segments into ObjectsList, where index matches the index fromIndexList. Keep in mind the index "i" shifted by one each time "Total" string was found Create an empty target message, copy PID, ORC, OBR segments across from the source message Iterate over %Library.ListOfObjects , extracting OBX segments and copying them to the new target messgae. Let me know how it went. :)
go to post Lukasz Migacz · Oct 9, 2024 Hi Emmanuel, Regarding monitoring of the general performance there are many metrics available. I found it very useful to set up an automated 24 hours system performance report ^SystemPerformance | HealthShare Health Connect 2022.1 (intersystems.com) and then generating performance charts using YASPE yaspe/README.md at main · murrayo/yaspe · GitHub. This should give you good insights of how your system is dealing with the load. Next you may want to check Scale Vertically | HealthShare Health Connect 2021.1 (intersystems.com) to find out if more resources are required to be added to improve the performance. Are there any specific problems you're experiencing that you'd like to resolve?
go to post Lukasz Migacz · Mar 6, 2024 The problem has been resolved by adding an argument to LoadDir. $system.OBJ.LoadDir(directory,"ck/multicompile=0")