Question Antonio Garcia ... · Aug 10, 2018 Ensemble - Username Hi,Not sure if is possible, but I am trying to find the way to show in the log the username of whoever enable a specific service. The idea is that a service is normally disabled..if someone enable it, the username will be reported to the log...I have tried with $username but it only return "_Ensemble" when running from ensemble although it works in Studio.Thanks #Business Service #Ensemble 0 8 0 603
Question Antonio Garcia ... · Aug 1, 2018 Net.HttpRequest - blank response? Hi,I am trying to create a script to connect to a website and extract all the content of the page. And in future to connect to an API. #SOAP #Caché 0 13 0 2.2K
Question Antonio Garcia ... · Jul 25, 2018 EnsLib.HL7.Operation.FileOperation - Line Feed Hi, I am using a standard EnsLib.HL7.Operation.FileOperation to create files based on HL7 messages but I just realised that lines in the output file only contain CR (Character Return) but no LF (Line Feed). It is really important to have both as another system picking those files will fail otherwise...Is there any way to configure this?Thanks #Ensemble #Business Operation 1 4 1 1.1K
Question Antonio Garcia ... · Jul 2, 2018 Business service events Hi, #Business Service #Ensemble 0 1 0 306
Question Antonio Garcia ... · Jun 8, 2018 object script array => size - element scount Hi,I was wondering if there is any way to count elements from an array. I guess not as an array could be multi-dimensional and that would be a problem to return the number of elements inside the array.As an example: #ObjectScript #Caché 1 4 0 2K
Question Antonio Garcia ... · May 10, 2018 Global update / Temporary global Hi,I wonder if you could help me with a problem with persistent globals and journals.We have a few interfaces using a persistent global just to translate some codes. The use of that global is like a lookup table...an interface calls a method that search for a field (in the message) in the global. If found, the code is translated with another field from the global.The format of the global is something like: #Globals #Ensemble 0 6 0 622
Question Antonio Garcia ... · Apr 26, 2018 Call method just after a service has started Hi,I have a service that I need to receive notifications from when the service has started. Usually this service will be off, but when started a need a method to be called so I can email and be alerted. The only method I know I can use is " OnProcessInput" but this is when an input is received (new file, new message...) but I could not find any events to deal when the service starts...I tried "OnInit" but does not seems to work...any ideas? #Caché 0 3 0 363
Question Antonio Garcia ... · Feb 21, 2018 Create task to run a business service just once Hi,I have a business service that needs to run only once a day at an specific time. It is important that the service only runs once.I have tried the scheduler but you can only define the times (start-stop) when the service will be running...so this will not work for me as I need this to run only once.Looking at the documentation I found "tasks". Apparently this is exactly what I need. As per documentation: #Business Service #Ensemble 0 12 0 2K
Question Antonio Garcia ... · Feb 14, 2018 SQL Store Procedure Output (String) into HL7 message Hi, #HL7 #SQL #Ensemble 0 3 0 1.5K
Question Antonio Garcia ... · Feb 9, 2018 Execute store procedure in SQL database problems Hi, I am trying to execute a store procedure within an ensemble operation to connect to aMsSQL database and I am having problem to pass the input arguments... I have tried several things but only one seems to work and it is not the ideal solution. #ODBC #SQL #Ensemble 0 9 0 1.3K
Question Antonio Garcia ... · Jan 29, 2018 Disable Service/Process/Operation from a function? Hi, I am working on a custom service that reads from a file and import content into a global. The problem is that global is also used by other processes. I have been trying to find any way to stop/disable a process from cache code so after reading the file, process is stopped, global updated and then process is restored. But I could not find anything, just to start/stop the whole production Do ##class(Ens.Director).StopProduction() Any ideas if this is something that can be done in ensemble? Thanks #Ensemble 0 6 0 947