User Answers

Hi

One approach to handle files in Ensemble without storing them in the database  could be to store the file to an external directory and pass the file path as a string message property instead of the stream between the business hosts.

Hi

You have to use the SendRequestSync() method for sending the request to your business operation from your business process.

Using the SendRequestSync() the business process will not process the next message until a response is received. Your messages will be queuing in the business process.

Additionally, I would suggest to check why the database response takes so long. 

Regards 

Stelios 

 

Hi James

You could try see if you could get the job status of your Business Operation by querying the Enumerate() class query of the Ens.Job class.

Hi

If the Ens package is available to you, then I find very useful the ConvertDateTime() method of the Ens.Util.Time class.

For example, if I want to convert this date: “20181220” to “20-12-2018”, then I use the ConvertDateTime() method like this:

Hi Lassi

Probably you are getting "AA" because the Ack mode of the Business Service is set  to "Immediate". 

One way to do this, is to configure your business Service to send the incoming HL7 message to a business process that constructs the acknowledgement according to your requirements ,and sends the acknowledgement back to the business service as response. 

In this case, your Business Service Ack mode has to be "Application".

Here is a sample Business Process that could do something like this. 

Hi

I am not sure if this will work for you, I can make  a word bold by adding the terminal escape sequence $C(27)_"[1m"

W $C(27)_"[0m"_"This is not bold. "_$C(27)_"[1m"_" This is bold."_$C(27)_"[0m"_" This is not bold again. "_$C(27)_"[4m"_" This is underscore."_$C(27)_"[0m"

I hope it helps

Stelios

Hi

If you want to get the username and password that is stored in the Ensemble credentials list that is accessible via the management portal Ensemble>Credentials, and  if you know the credential id,

then you can get the username and password via the Ens.Config.Credentials class:

SET cr=##class(Ens.Config.Credentials).%OpenId("yourCredentialID")

SET UserName=cr.Username

SET Password=cr.Password

 

see here the class reference: