Question Scott Roth · Feb 23, 2018 Pulling information from Credentials using Cache Object Script Is there a way to pull a user name and password from the Credentials list that is kept in Ensemble? Right now I have a LDAP user that I have hard coded into my ZAUTHENTICATE, which I would like to get away from. I am not to familiar with settings Global, or calling them at least.ThanksScott #Databases #Globals #LDAP #Object Data Model #Security #Ensemble 1 12 0 2.2K
Question Scott Roth · Feb 16, 2018 User Role Lookup from ZAUTHENTICATE I am working on an ZAUTHENTICATE.mac to move us from local cache users to Delegated Authentication against LDAP. I have created a user role within my instance of Ensemble that matches the AD Group that I will be assigning everyone in my group to. Is there a way to query the list of available Roles within Ensemble, and if one of my AD groups matches that role, set the role for that user? How would I compare the AD Group against the Role listing? Thanks Scott #Access control #Authentication #LDAP #Object Data Model #Ensemble 0 10 0 685
Question Scott Roth · Feb 12, 2018 Setting Authentication Roles from LDAP Group I am working through trying to use ZAUTHENTICATE.mac and LDAP.mac to do Delegated sign on into Ensemble. In reading over the samples and the documentation, I am not clearly finding on how to set the Appropriate Role from the LDAP group I return. Can someone help explain this part to me? If I have a user sign on, and I return a "Group" from the Authentication, how do I get that to transform into the Role I need for Ensemble. Thanks Scott Roth #Access control #LDAP #Object Data Model #Security #Ensemble 0 1 0 562
Question Scott Roth · Feb 9, 2018 Mix case function Does anyone have a function they built to change a name from all lower case, or all upper case to mix case?ThanksScott Roth #Code Snippet #ObjectScript #Caché 0 6 0 954
Question Scott Roth · Jan 30, 2018 EnsLib_HL7.Message retaining data after purge As I was going though and trying to figure out why our CACHE.dat has increased in size over the past 18 days, I found that EnsLib_HL7.Message is still retaining messages dating back to 2014 even though we have our purge set to 10 days. Has anyone else experienced this? Thanks Scott Roth The Ohio State University Wexner Medical Center #HL7 #Performance #System Administration #Caché #Ensemble 0 1 0 366
Question Scott Roth · Jan 30, 2018 Managing and Monitoring CACHE.dat We have noticed in the course of the last 18 days our CACHE.dat has grown by 20 GB. Is there a way we can break down the data in CACHE.dat to see what could be growing in size?Let me state it another way.....Is there a way to see what space an Operation/Service/Process is taking up within a certain Production?ThanksScott RothThe Ohio State University Wexner Medical Center #Caché #Databases #System Administration #Ensemble 0 3 0 1.5K
Question Scott Roth · Jan 25, 2018 List of Business Services Is there a way to get the list of Business Services from a command line call? We are trying to see if there is a way we can automate bring down our Inbound Business Services during a fail over. Thanks Scott Roth The Ohio State University Wexner Medical Center #Business Service #Ensemble 1 12 0 850
Question Scott Roth · Jan 24, 2018 Creating a AlphaNumeric Sub ID Counter (OBX.4) Is it possible to have a, b, c, d, e, and f as a counter instead of the counter being numeric? See below...Epic would like us to set OBX.4 using a alpha numeric combination. #DTL #HL7 #ObjectScript #Ensemble 0 3 0 351
Question Scott Roth · Jan 18, 2018 Using StartsWith with a data lookup table I have an interface that does not send me specific ID's, so I am scanning the AIL3.2 (Text) field for certain characters. The Routing rule is getting pretty big with all the OR statements. Is there a way that I can define what I am searching for in the data lookup table, and not have to scan the whole field that it does by default? Is there a way that I can simplify this? #Ensemble #Business Rules #HL7 0 3 0 853
Question Scott Roth · Jan 12, 2018 Persistent Value not being specified for Query What happens if you don't declare a Persistent value when you call ExecuteQuery()? What does Ensemble set as the key value for your query? I have a query that I've executed on SQL Server, and I get 15 rows, but because this is my second time querying the data Ensemble thinks it exists. The Method in question is SelectProviderClarityAudit. If I call this query multiple times it is not returning the same number of results each time in Ensemble. #Business Operation #ObjectScript #ODBC #Ensemble 0 3 0 474
Question Scott Roth · Dec 15, 2017 $ZSTRIP removing too many characters We are seeing something funky when using $ZSTRIP. w $ZSTRIP("ZZZZTESTSLOCKTEST","<","ZZZZTEST")LOCKTEST Shouldn't this be returning....SLOCKTEST and not LOCKTEST, the goal is to remove ZZZZTEST from the beginning of the string. THanks Scott Roth The Ohio State University Wexner Medical Center #ObjectScript #Ensemble 1 1 0 548
Question Scott Roth · Dec 14, 2017 Using THROW/CATCH within Business Process Lanaguage We are starting to look into our BPL's and catch errors that calls may return. Can someone explain how to use the THROW and CATCH within the Business Process Language or have a sample of how it should work? Thanks Scott Roth The Ohio State University Wexner Medical Center #Business Process (BPL) #Ensemble 0 3 0 655
Question Scott Roth · Nov 30, 2017 EnsLib.RecordMap.Operation.BatchFileOperation I have a process that I am trying to duplicate from SQL Integration Services (SSIS) into Ensemble so that the rest of my team can help support any issues that may happen.This particular job creates multiple dictionary files, but for each one of the dictionary files it creates, it also creates a control file that tells the vendor what to process. #Business Operation #Business Process (BPL) #Object Data Model #ObjectScript #Ensemble 0 1 0 485
Question Scott Roth · Nov 3, 2017 Executing Dynamic SQL as Execute Querry I am trying to replace one of our SQL Integration Service jobs with Ensemble and I am running into an issue executing a query against a MS SQL database using JDBC drivers. My SQL Outbound code looks like this. #Business Operation #Databases #JDBC #ObjectScript #SQL #Ensemble 1 4 0 732
Question Scott Roth · Oct 19, 2017 EnsLib.SQL.Snapshot - Limitation of RowCount??? We are trying to convert some of our SQL Service Integration Service jobs from Visual Studio to Ensemble. If we execute a Stored Procedure within SQL Server Management Studio it is returning approx 12,000 rows. However when Ensemble executes the same Stored Procedure it is only returning 250 rows.Is there a limitation to EnsLib.SQL.Snapshot?This is how we are calling the Stored procedure #Business Operation #Business Process (BPL) #Object Data Model #ObjectScript #SQL #Ensemble 0 4 0 918
Question Scott Roth · Aug 1, 2017 PDFs and Reading them I know there are numerous Java libraries available to scan a PDF meta data, but is there a way to scan a PDF using native cache object script? We are looking to take a PDF from an external vendor, scan for meta data, create the HL7 message, and embed the PDF within the HL7 message.ThanksScott RothThe Ohio State University Wexner Medical Center #Java #Object Data Model #ObjectScript #Ensemble 0 2 0 1.5K
Question Scott Roth · Jul 20, 2017 SQL Inbound Adapter - Not returning all the records it should from a View in Micrsoft SQL Server I am currently working on a issue with WRC on one of my Inbound SQL Adapters not returning all the records it should be. If I looked at the count of the records in Ensemble and compare it to that of a Microsoft SQL View, Ensemble seems to be off by a few records here and there. I am using a full dynamic select statement in my settings of the adapter. SELECT Text, PhysicianLastName, PhysicianFirstName, PhysicianAddress1, PhysicianAddress2, PhysicianCity, #Business Service #JDBC #ObjectScript #SQL #Ensemble 0 5 0 791
Question Scott Roth · Jun 19, 2017 Date Filtering Functionality I have come across several cases where I need to set a Date filter to send only send any admit/scheduled date past a certain point. We have a couple different date comparison functions but none looking at the true date. Most of them are date + 15 or etc. Does anyone have a good date function they have written to say if x > 20170102 ?ThanksScott #Ensemble #Business Rules #DTL #HL7 #ObjectScript 0 14 0 2.3K
Question Scott Roth · Jun 9, 2017 Invoking EnsLib.FTP.OutboundAdpter from Object Script I have a case where I am creating a PDF file from an Encoded String, and I need to transfer this file over to another server. I was wondering since this is PDF file if I could just invoke the FTP.OutboundAdapter within my Object script that is creating the PDF from the encoded string. Is this possible? Does anyone have an examples of using EnsLib.FTP.OutboundAdpater within their Object Script?ThanksScott RothIntegration - InterfacesThe Ohio State University Wexner Medical Center #FTP #Object Data Model #ObjectScript #Ensemble 0 5 0 614
Question Scott Roth · May 2, 2017 Inbound Email Adapter Confguration Does anyone have a good example of setting up an Inbound Email Adapter Service to retrieve an email? I am thinking of sending this email to a BPL to retrieve the Attachment that is in the email. Would that be the correct method to do that? Thanks Scott Roth The Ohio State University Wexner Medical Center #Business Service #Ensemble 0 1 0 627