Using the Data Transformation Builder I see the action if but in my scenario a case statement would be better. Is there anyway to do a case statement? This way I dont need to build a long if else logic.
Hi All,
I am trying to pass a http request through ensemble production and fetch response.
Could you please advice us the steps to achieve this.
Thanks in advance,
Arpitha R
Hello everyone,
I'm doing a REST service for integration between 2 systems. The system that invokes me expects a response object where only one of its attributes changes. It could be something like this:
Class ResponseCustomer {
Property Code As %String;
Property Info As Customer;
}Class ResponseAppointment {
Property Code As %String;
Property Info As Appointment;
}Class ResponseCancellation {
Property Code As %String;
Property Info As %String;
}To avoid creating almost identical objects for each of the methods of my REST service, I had thought to
Hi,
We are trying to feed in HTTP request & get HTTP Response in ensemble production.
From the below link we got the code for HTTP Request/Response Example. while executing the code we are getting following error: "ERROR <Ens>ErrFailureTimeout: FailureTimeout of 30 seconds exceeded in Test.HTTP.Operation; status from last attempt was ERROR #5922: Timed out waiting for response"
URL : https://sites.google.com/site/intersystemsensemble/code-collection/exam…
Could you please help us in this regard.
Could you please guide us in Creating a new Ensemble Production with
In our last lesson, we implemented a linkage to our WidgetAccessory class, and debugged some errors we encountered along the way. We now have our data being returned by REST, but what if we want to update or add new data to our application?
So far we have only used HTTP GET commands with our REST Services, we now have to implement PUT (which roughly corresponds to an Update) and a POST (which roughly corresponds to a Create. Author's note: there is a lot of writing online about why this statement isn't entirely correct, I'm not going to go into the detail here). However, before we start, w

or "Things are going to break"
We left our application over the weekend, secure in the knowledge that it was returning data from our primary persistent class, User.Widget. However, Widgets Direct are the premier supplier of both Widgets AND Widget Accessories, so we should really start working on adding these Accessories to our application.
We should do some housekeeping first though. Our Page Controlller code is currently sitting in the widgetmaster.js file. As we start to build up our application and use multiple controllers, this will make the PageController hard to find, so we should ref

Hi,
In SOAP Wizard, whatever WSDL I pass, I m getting the following error in the SOAP Response. Even If I create my own SOAP Web-Service and pass its WSDL, I am getting the same.
Hi,
Is JMETER compatable with Ensemble production.
Hi - I created a custom extension to the SDA3 Allergy class, but can't figure out how to access the actual data to plug it into the SDA in the OnAllergy method.
The method (in my extension of the HL7ToSDA class) has a method like this:
ClassMethod OnAllergy(){ Set cr = $c(13,10) do ..write(cr_"<Mode>") do ..write(cr_"<Code>"_"ThisWillComeFromACustomFieldInAL1"_"</Code>") do ..write(cr_"</Mode>") do ..write(cr_"<OnsetDate>") _"ThisWillComeFromACustomFieldInAL1"_"</OnsetDate>") Quit}In the superclass I see references to various macros which reference variable
Hi,
I am trying to generate a custom error-code using the following code
Class ISG.CommonBilling.Service.Test1 Extends EnsLib.HL7.Operation.TCPOperation
{
ClassMethod khalid() As %Status
{
Set tSC=$$$ERROR("10001","I am here")
write $$$GETERRORCODE(tSC)_$char(13,10)
write $SYSTEM.Status.GetErrorText(tSC)
}
}
And here is the output:
KINDRED>do ##class(ISG.CommonBilling.Service.Test1).khalid()
10001
ERROR #10001: Unknown status code: 10001 (I am here)
QUERY: Is there any way I can remove the part "Unknown status code: 10001 (...)" in the error-text?
Thanks in advance, Khalid
I'm breaking my head trying to figure how to solve this issue.
When using SQL, If the column (property) is populated with at least one value and is a %List, then I can check if it's $listvalid and $listlength(column) > 0.
Now let's suppose there's no data inserted for that column on next row.
I can't simply use $listvalid because $listvalid("") = 1. Yeah, empty values is a $list for Caché.
So my question is, how do I discover if the regarding column is indeed a %List independently of being empty or not when retrieving it's value via SQL?
I tried checking for the row metadata to discover any %List
I need to guarantee that a parent AND child rows has been inserted successfully before any other process is able to read ANY of the data.
What is the proper way to prevent DIRTY reads? Per the InterSystems's documentation I should be able to use 'START TRANSACTION ISOLATION LEVEL READ COMMITTED'. I have attempted to use these commands in embedded and dynamic SQL calls to no avail.
I have to be able to insert the data via JDBC calls, but legacy Caché (.MAC) may be reading the data, and if the data is read to quickly, I could have processing errors, as all the child rows have not been inser
Hi!
I have a question:
I create a Operation REST API , when I call to my client trough this REST API, my cliente returns list of object in JSON, like that:
[
{
"Center" : "aaaaaaaaaa",
"Nif" : "00000000T",
"NumberCenter" : "00000000",
"Name" : "ppppp",
},
{
"Center" : "aaaaaaaaaa",
"Nif" : "00000000T",
"NumberCenter" : "00000000",
"Name" : "ppppp",
},
{
"Center" : "aaaaaaaaaa",
"Nif" : "00000000T",
"NumberCenter" : "00000000",
"Name" : "ppppp",
}
]On the other hand, I have in my Ensemble, Two cl
During a Caché system management training course today we discussed structural database integrity (a.k.a. physical integrity) and the tools InterSystems provides for checking integrity and fixing problems.
Hi, Community!
Please find the Developer Community video of the week: Human Decision as a Part of Workflow.
This video is a session from Global Summit 2016 which describes:
- The needs of human decision in workflow
- Human workflow and InterSystems Ensemble
- Ensemble Workflow API
Enjoy and stay tuned with Developer Community YouTube Channel.
I'm aware of two ways to get list of files in a dir:
set dir = "C:\temp\" set rs = ##class(%File).FileSetFunc(dir, , , 1) do rs.%Display()
and:
set dir = "C:\temp\"
set file=$ZSEARCH(dir_"*")
while file'="" {
write !,file
set file=$ZSEARCH("")
}Yet they bot return only files and directories in a current directory, but not files in subdirectories.
I suppose I call one of these recursively, but maybe there's a better solution?
Is Healthshare a product?.Health share Database how to differ from another Product Database?.Are using any intermediate services for Healthshare DB?.
Is the InterSystems Cache has SQL or Non-SQL concept?
Hello,
is it possible to ZW variables in stack frames above the current one? I am calling a custom logging method, and would like to log variables from the point of call.
Thanks
Jiri
What is the difference between mac and class files and these files are how to converted int file format
Hi, Community!
This post is a digest of the Developer Community postings in May 2017.
Most viewed
Cogs Library 191
Building a QEWD / Node.js / Cache REST Back-end 190
The COS Faker 173
Security Alerts 168
SQL/Non-SQL 165
How do I get a list of files in directory including subdirectories? 155
Managing UTF-8 characters on the database with a REST application 151
Interprocess communication (main< = >job) 129
Globals vs Locals: What Is Faster? 125
Most voted
Caché Open Authorization Framework (OAuth 2.0) implementation - part 1 9
Hello,
There is a programatic way to Export/Import the Ensemble System Default Settings?
I know you can use the Production Export Screen and add the "Deployable settings" but I am looking for something more quick and flexible
Thanks
Hi,
I am facing an issue after upgrading from Ensemble version 2015.1 to 2017.1. On 2015.1, I was testing a Rest operation using a https mock-server. But now on 2017.1, the same Rest operation throws me the following exception on testing...
Hi -
In HealthShare clinician user specifications (as well as in the the clinical viewer), there are locations for specifying "proxy" user(s), but there doesn't seem to be anything in any of the documentation that explains what this actually means/enables.
Is there any methods/ways through which will get to know whether any of the Unit Test cases is/are failing in the Terminal with status as either 0 or False in case of Failure & 1 or Ture in case of Test Passes (we are getting an url of the csp page with the report which has the passed failed status) as we need to send this failure status to Jenkins for the Build to Fail (where in we have acheived this part in making the build failure/success based on harcoded boolean)
Hi everyone,
i have a problem with the "ExecuteUpdateParmArray()" methode from the "EnsLib.SQL.OutboundAdapter" adaptater when i try to update a sql server 2008 table with JDBC connection.
..Adapter.ExecuteUpdateParmArray(.nRows,sqlUpdate,.param)
return to me the following error:
- "ERROR #5023: Remote Gateway Error: JDBC Gateway execUpdate(0) error -1: no value specified for parameter 1."
the sqlUpdate is like "update table SET column1 = ?,column2 = ?,column3 = ? where id = 1"
i built my param like this :
s param(1) = 'x' s param(2) = 'y' s param(3) = 'z' s param = 3
i
Hi,
I am trying to input JSON file in ensemble production and get XML output file is there any way to achieve this or any cache program to do so?
I need to execute a single csession command which calls a multi-parameter routine, such as ^SECURITY. This will be to do things such as create databases, resources, etc. (see below). When I run the command all at once, I get a PARAMETER error.
1) User setup
2) Role setup
3) Service setup
4) Resource setup
5) Application setup
6) Auditing setup
7) Domain setup
8) SSL configuration setup
9) Mobile phone service provider setup
10) OpenAM Identity Services setup
11) Encryption key s
i got an unspecified character in my try-cache i do sample class definition using stream collection what is my defect plz reply me as soon as possible
Today I helped someone solve a mystery. He had been trying to use the -U namespace argument of a csession command to specify the namespace in which to run a particular routine, and was puzzled when the routine could not be found.

