Hi, world , i want to program a task for my adapterless business service for it be invoked each houre in the day by sending a trigger to my business process .
thank's
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
Hi, world , i want to program a task for my adapterless business service for it be invoked each houre in the day by sending a trigger to my business process .
thank's
Hi all,
I wonder if is possible to create a task object and this task calls to a Business Process (or business operation)
My attempt was:
/// Task Special purge Class MyTasks.SpecialPurge Extends %SYS.Task.Definition { Parameter PROPERTYVALIDATION = 1; Parameter BPSPECIALPURGE= "Special Purge"; Parameter TaskName = "Special purge in SQL"; Property MinutesDelay As %Integer [ InitialExpression = 15, Required ]; Method OnTask() As %Status { // Create the date to purge set datePurge= $SYSTEM.SQL.DATEADD("minute",-1*.
Hello,
I am working in a csp application where the user can configure a TCPS Service in a guide like manor.
So I want to be able to present a html <select> element, the values / text I want to present in this control should be the ID field from Security.SSLConfigs in the %SYS namespace.
How would I go about doing this? Can this be done?
Best regards,
Magnus
Hello guys,
I was wondering whether there is another alternative to extracting a certain string out from a bigger one, rather than using the function $piece.
Maybe regular expressions? Another specific function?
Example:
Big string:
NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere
String I want to extract:
TextIsHere
Function I'm already using:
w $piece("NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere","NAD+SLA+++",2) > Will ouput TextIsHere
w $piece("NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere","NAD+SLA+++",3) > Will ouput TextIsHereThanks!
Hi world , can you show me if you have a code for how invoke an adapterless service from a task classe in an ensemble prodution please.
thank's
Hi world, i want to configure my ensemble production that each 24 houres a business service is created and trig a business process wich browse my sql table and generate alert if there is not a new record in interval (24 HOURES).
thank's for help.
I need to convert the following XML file (with namespace) into an object in Ensemble. After processing the data, you also need to convert the object to an XML file (keep the namespace). During this time, the XML structure does not change, Only the data will change. How can i do it?
<ClinicalDocument
xmlns="urn:sc-wst:v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:sc-wst:v2 SD.xsd">
<id root="1.1.
Should be easy, right? My DEV environment is working just find and sending out alerts via email, however my TST and PRD environments are showing "ERROR #6070: SMTP Send failed" on the Ens.Alert email operation. Same configuration settings on the operation, same SMTP server being addressed (I confirmed that I can ping the mail server from DEV, TST, and PRD boxes) and same port#. I turned on "Log Trace Events" but don't see anything additional in the logs. Am I missing something?
Let me know if you have any thoughts.
Thanks,
Hunter
While creating namespaces, there is a provision for keeping the data, and code separately in database.
What I am looking for,
What are the benefit we can achieve by doing this?
Is there any documentation of article which might help understanding?
Thanks You!
hi world, is there a possibility to programm a rule for trigg it every 48 HOURES?
thank's
Hi world, i work actually on a medical care project , i'm blocked since this monday , i read a lot off topic for ensemble production but i think that the solution is so far to find, please can you help me , my question is :
i want to create a data base inside it i associat for each patient his own rule , how can i do it? thank's
Hello guys,
I'm trying to achieve the same at this guy:
https://groups.google.com/
But I couldn't actually figure out how to save the calling application port and then use it in the Business Service to forward the complete response (ADR A19) onto the same port that made the request.
I know it isn't possible to forward message from a Business Process back to a Business Service.
Can you help me out?
Thanks!
Hello,
I come from a programming background, but haven't touched ObjectScript before my current job, so please forgive my ignorance.
Within an Ensemble system, I need to post some information to a RESTful web service. I'm just trying to figure out how to create a method which takes a simple message and posts this off to a RESTful web service?
Thanks in advance for any help.
HI world , i want to creat my own rule in ensemble without rule editor , how can i do it?
thank's
For a HL7 production, How will I be able to use two different segment level transformation (sub transform) in the main transform.
For Ex: Few mappings from source PID --> target ZAX segment (subtransform 1) Few mappings from source PV1 --> target ZAX segment (subtransfrom 2),
In the main mappings, I have used subtransform 1 followed by subtransform 2. It doesn't seem working fine.
Any suggestions please. Thanks:)
Before we begin, I'd like to mention that I am by no means an Ensemble expert, so take this with a grain of salt and please feel free to offer any suggestions for improvement. That being said, I have enjoyed working with Ensemble and wanted to share the approach I took to poll an external REST API for patient data in the hopes that it might help others with a similar goal.
If you get bored easily and just want to see some code, feel free to jump straight to the example on github. It uses dummy data (for obvious reasons) but the core principles should be the same.
This 'feature' have been around for a long time, but I don't see any articles on it so I thought I would make everyone aware.
A method is provided to customize the appearance of the Cache cube icon in the system tray so different instances can be visually distinguished. When csystray.exe, the Cache/Ensemble cube program, starts, it will look for files named "up.ico" and "down.ico" in the \bin directory below the instance installation directory. If these .ico files are present, csystray.exe will load the icons and display them in place of the default blue and gray Cache/Ensemble cube icons.
hi world, how can i have access to the BPL set rules in programming ?
for information: all logical rules are stored in routine data base, but i don't know how to have access to its corresponding name space.
thank you for helping
What are the pros and cons of developing a custom database driven routing engine vs. using the Ensemble standard routing engine. What I'm trying to accomplish with the custom routing engine is less manual intervention every time a new route is added. The con I can see with the custom engine is performance may lag behind the standard engine. My development vs. Intersystems essentially.
I appreciate feedback. Thanks!
I wanted to share a little tidbit which is in the Studio documentation (http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls…) but many people who have been using the InterSystems Studio for a long time missed the addition of this *very* useful feature, and every time I mention this to an audience I see at least one face light up because of how excited they are to learn about it!
Within Studio, the Output pane (View -> Output) is actually misnamed. It is actually an Input/Output window which can be used to run Caché ObjectScript commands!
Does anyone send alerts via API / Web Services to an application such at Tivoli or CA Spectrum? If so, can you share what commands you send? e.g. If connection is down or queue depth > 200. Thanks.
Hi
Is there anyway to catch info/warnings into an Ens.Alert when the inbound adapter is skipping previously file (of any reason)?
Or any other way to pay attention to it.
In our log it usual have Warning or Info level and it stops there. We really want to create some kind of an alert when it happends.
All suggestions welcome
Sincerly,
Michael
I am beginner to ensemble and went through the introduction of ensemble in that they have mentioned three process of operations which is business service,business process, business operations is there anyway to understand these process can anyone help me on this.
Thanks in advance.
Is it possible to dynamically adjust the RetryInterval andFailureTimeout settings in a BPL?
I've got a business process that calls a web service operation to get a session ID from an external system. There is a string property returned in the body of the response that indicate an exception occurred in the external system. I have code in the BPL that examines the property and sets the status property to an error status when that occurs.
Depending on what the value is I want to adjust the RetryInterval and FailureTimeout values used in by the system when the ReplyCodeActions is set to E=RD.
Several Ensemble adapters have SERVICEINPUTCLASS and/or SERVICEOUTPUTCLASS parameters defined.
For example:
Class EnsLib.HTTP.InboundAdapter Extends EnsLib.TCP.InboundAdapter
{
Parameter SERVICEINPUTCLASS = "%Stream.Object";
Parameter SERVICEOUTPUTCLASS = "%Stream.Object";
...
}What are they for?
Hi everyone, I have a SQL service that is working fine, except I don't want it to run on a schedule or continuously. I'd like to only run when requested. Run once and then stop until another request. Is there anyway to set up a service like that?
Hi,
I have a process in which i call a rest operation in a while loop, get a response in JSON format of 50 issues, with paging, meaning this call will happen until the total amount of issues will be returned. each JSON is parsed into a proxyObject, and inserted to a list. later the entire list will be sent to an SQL operation which will write the data in the appropriate tables.
The problem i'm encountering, is when i use the "ASSIGN" action, with insert at a certain key (context.i=context.i +1 for each iteration of the loop), i get an Error that says that the value 3 is invalid key.
I have a simple SQL service that does a simple select from an SQL database. After the select, I do an update to set the ProcessedFlag to "Y" for yes, so my next pass doesn't select records already processed. The service works fine, except when it's done I get the error below, anybody know what is causing this error?
Hi all,
I'm exploring using installation manifests to deploy Ensemble configuration changes. I noticed that the documentation uses a macro within an "Error" tag.
<Error Status="$$$NamespaceDoesNotExist">
So I thought this would also be possible with "Var" tags, "If" tags, etc. For example:
<If Condition = "$$$isDevEnvironment">...
I have a call in a business process that returns a response which may contain a collection of error message. I use the following code in my response builder to extract the messge value from the first error and map them to a context variable:
Set context.ErrorMessage callresponse.result.GetAt(1).errors.GetAt(1).message
This works nicely when an error comes up, however when no error is returned (i.e. the collection is empty) I receive an error: ERROR <Ens>ErrException: <INVALID OREF>zOnResponse2+4^Calarm.UserRegistrationProces.Context.1 -- logged as '-' number - @' Set status=1,context.