#Ensemble

23 Followers · 2.4K Posts

InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record

time.

Learn more

Documentation

Article Brendan Batchelder · Dec 9, 2016 3m read

When testing a new routing rule, one frequently encountered problem is that messages that seem like they should be getting routed to a target component are not getting routed.  This article aims to describe how to determine why the message didn't get routed.

1. Check the Event Log for the router to make sure there wasn't an error evaluating the rule or running any transformations referenced by the rule.  If there was, debug that error first.

2. Verify the settings on the general tab in the rule editor.
2a.Make sure "Rule Type" is correct.

2
1 1230
Question Bahram Aziz · Dec 9, 2016

Hi,

I am working with this Ensemble Business Operation, which extends the EnsLib.Rest.Operation.

http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

I built the OpenWeatherMap Rest Operation described in the article above.

I would like to access the weather.id weather.main, and weather.description. However, these objects are in a JSON Array.

How do you access these three objects in Objectscript.

In my,  Test.REST.WeatherOperation class, I added these three lines.

            set pResponse.WeatherId = tProxy.weather.id
            set pResponse.WeatherMain = tProxy.

3
0 1101
Question Don Rozwick · Dec 8, 2016

I have a project to convert a JSON message with two patient identifiers into an HL7 ADT^A31.  Is there any documentation or training that you would think is appropriate?

Currently using Ensemble 2014.1.5 on AIX

1
0 2729
Question Scott Roth · Dec 8, 2016

Using the following...

//Get PDF stream object previously saved
   Set pdfStreamContainer = ##Class(Ens.StreamContainer).%OpenId(context.StreamContainerID)
   Try {
     Set pdfStreamObj = pdfStreamContainer.StreamGet()
   }
   Catch {
      $$$TRACE("Error opening stream object ID = "_context.StreamContainerID)
      Quit
   }

Would it be possible to search the pdfStreamObj for certain values like a Medical Record, or Patient Name?

Thanks

Scott

1
0 1152
InterSystems Official Andreas Dieckow · Dec 7, 2016

Beginning with the next release after 2017.1, InterSystems products will no longer be offered on macOS (OS X) as a Server platform. This platform has been re-classified and will be available as a Development platform in future releases.

Products: Caché, Ensemble
 
Expected Availability: next major release after 2017.1
0
0 500
Question Bahram Aziz · Dec 7, 2016

Hi,

I was looking at the ENSDEMO namespace in our Ensemble server. In the class Demo.REST.DirectoryOperation, there is a line that uses the macro $$$URLENCODE. I would like to know exactly what does this macro $$$URLENCODE() do. Specifically what value does it. Unfortunately, I can't find anything about this macro in the Ensemble Documentation.

2
0 1620
Question Alexander Marx · Nov 15, 2016

One of my application needs to be able to receive and forward (almost) any kind of Email Message that will be thrown at it. I am able to do that using %Net.MailMessage and %Net.SMTP and %NET.POP3 classes from Caché code.  So far no problem.

The challenge: for a specific reason I want to be able to persist and track those message within ensemble.Now, If I simply use %Net.MailMessage and persist it as a serial object within an ensemble message body,  I get issues, most of them caused by maximum string length definitions of the %Net.MailMessage.So, unfortunately it is not that simple.

3
0 485
Question Andrew Makinson · Nov 22, 2016

Hopefully somebody can help with this :

Using healthshare - Ensemble::: I have an HL7 message (ORU^R01) where I have an RTF file embeded into an OBX segment as what appears to be plain text.

example below :

How would I  extract this file out and create an email and attach this RTF file as an attachment?

OBX|1|ED|GP Discharge Letter^GP Discharge Letter||^^TEXT/RTF^^{\E\rtf1\E\ansi\E\ansicpg1252\E\uc0\E\deff0{\E\fonttbl{\E\f0\E\fswiss\E\fcharset0\E\fprq2 Arial;}{\E\f1\E\fnil\E\fcharset0\E\fprq2 Times New Roman;}{\E\f2\E\fnil\E\fcharset0\E\fprq2 calibri;}{\E\f3\E\fnil\E\fcharset0\E\fprq2
2
0 881
Question Scott Roth · Nov 23, 2016

I have a standard text file that is coming out of a system new line delimited. Each document will have the same field structure each time.

ID: xxxxxxxxx
Name: xxxx,xxxx   Age: xx   Sex: x

OSU Wexner Medical Center Harding Hospital
Treatment at  7/14/2016   10:39:34 AM

% Energy Set                                    50 %
Charge Delivered                             255.4 mC
Current                                       0.91 A
Stimulus Duration                              7.0 Sec
Frequency                                       40 Hz
Pulse Width
7
0 1144
Question Scott Roth · Nov 22, 2016

I am trying to write some code to check to see if a directory exists before creating a new directory.

When I do the following I am not getting a response, but the directory exists..

do ##class(%File).DirectoryExists("/ensemble/")

am I missing something?

5
0 1025
InterSystems Official Steve Brunner · Nov 7, 2016

I am pleased to announce the field test of Caché and Ensemble 2017.1, including many new improvements.

The product team at InterSystems looks forward to your participation in the field test and feedback over the coming months.

Some of the more significant changes in 2017.1 are the new RESTful APIs for iKnow, FIPS 140-2 validated cryptography for Caché database encryption, and improved DocBook search. As always there are a host of scalability and performance improvements to the core database and SQL. And hundreds of smaller improvements and corrections.

2
0 926
Question Rajath Muthappa · Nov 8, 2016

Hi,

Currently i am building a CSP application using Intersystems cache to automate few tasks in Ensemble. Basically, I have 2 .csp class files, file1.CSP and file2.CSP in namespaces namespace1 and namespace2 respectively. On satisfaction of a condition I forward the request from file1.csp to file2.csp. while forwarding it prompts me to enter the log-in credentials again as the second .csp file is in a different namespace. Is there any way i can bypass the login screen while forwarding the request from 1 csp to another (as i am using the same credentials for both the namespaces) ?

PS: While

3
0 461
Question Thomas Kotze · Nov 7, 2016

Hi,  We have a business process that receives back a character stream that has csv content from a SOAP Operation call. I was hoping to make use of the record mapper to map the content to a record map to be able to process the transactions.

I only see examples/documentation of how to use a File or ftp business operation/service to map the stream to a record map.

Is this at all possible to get the csv stream into a record map batch object.

Regards

Thomas

1
0 556
Article John Murray · Mar 16, 2016 2m read

Prompted by the words Rick didn't actually say to his pianist in Casablanca, I want to draw attention to the the "Resend" button at the top of the Ensemble Message Viewer.

It's pretty easy to use. Find the message or messages you want to resend, set the associated selection checkbox(es), then click the button.

The Message Viewer page is replaced by the Resend Messages page where you can review the message(s) you selected, then proceed.

3
0 1006
Question Tirthankar Bachhar · Nov 4, 2016

As per the documentation of QueueCountAlert:
Number of messages on this item's queue needed to trigger an Alert message to be sent. Note that no further alerts will be sent unless the number of messages on the queue drops below 80% of this number and then rises again to this number.
Note that this alert will be sent even if AlertOnError is False.
Zero means no alerts of this type will be sent.
Now, the question is,
If QueueCountAlert is set to 10, and the queue size become 11 we will be getting email once.
Now, if queue count does not decrease, and keeps increasing further after sometime, how do we

6
0 588
Question Sergio Fernandes · Nov 1, 2016

Hi everybody,

My name is Sérgio Fernandes and I'm from Brazil.

I need to get the size of file that the user wants to upload in my application.

I'm getting it name with %request.GetMineData("fileName").FileName, but not found it at Ensemble documentation how would i get the size of file.

My version is Ensemble 2013.1.6.950.0 and I'm doing it at csp.

Thaks 

3
0 861
InterSystems Official Steve Brunner · Nov 4, 2016

InterSystems is pleased to announce that Caché and Ensemble 2016.2.1 are now available as maintenance releases.

 

For a complete list of the corrections in 2016.2.1, please review the release notes.

 

Caché and Ensemble 2016.2.1 are available for the same platforms as 2016.2.0.  The complete set of supported platforms, including specific point releases and patches, is detailed in the Supported Platforms document.

 

The HealthShare team will announce availability of its products separately.

 

The build corresponding to this release is 2016.2.1.803.0

0
0 393
Question david clifte · Nov 3, 2016

I'm trying to start a Production and the following error is shown.

Any idea how to solve?

translations:   -  Produção 'BUS.BusProduction' está sendo iniciada...
                              - Production 'BUS.BusProduction' is being initialized

                             - A produção não pode ser iniciada - precisa ser ativada 
                             - The production can't be initialized - it must be activated.

11:10:01.549:Ens.Director: Produção 'BUS.BusProduction' está sendo iniciada...
2
0 713
Question david clifte · Nov 3, 2016

I'm trying to setup a webserver in health share.

I'm stuck in premission set up.

When I select Unauthenticaded login method in  EDIT WEB APLICATION the page freeze and after some time, about a minute, the login page is shown.

Someone knows what is happening?

1
0 340
Question Mathew Burt · Oct 19, 2016

I'm writing an operation to use the LDAP Outbound Adapter to query AD.

The operation's settings include a basic Credentials selector, to allow you to use the built in Credentials function of Ensemble. This can be referenced in the operation with ..Adapter.Credentials

But when it comes to specifying the credentials in the Bind method, the documentation indicates that only a format of $lb(Username,Domain,Password)is supported. I tried ..Adapter.Credentials and $lb(..Adapter.Credentials) but the only thing that worked was setting the three variables in plain text first in the operation itself

6
0 841