Question Julie Marulappa · Jun 12, 2019 Set http adapter settings within a properties file I have several business operations that are all pointed to the same http server. Is there a way to set the http server within some sort of properties file or within the objectscript code? I want to be able to set the http server setting once rather than for every business operation. Any advice on how to go about doing this would be appreciated. #Business Operation #Ensemble 0 1 0 249
Question Julie Marulappa · May 14, 2019 Can BPL context properties be available across multiple business processes? Is there a way to have a context property be available across 2 or 3 different business processes? For example if I am setting a value in a context property within one business process and want to use the same context property in a second business process, is this possible? Is this something that can be done with the "Context Superclass"? #Beginner #Business Process (BPL) #Ensemble 0 5 0 424
Question Julie Marulappa · Apr 18, 2019 How to remove escape characters from JSON I am still new to cache objectscript and am trying to figure out how I would go about removing the escape characters from my JSON below. When I call the $toJSON method it's adding the "\" character in the file path.{"FileStatus":"P","Path":"\/somepath\/test\/test123\/filename.txt","InterchangeOID":"100458"}My Code: #JSON #ObjectScript #Caché 0 11 0 10.2K
Question Julie Marulappa · Oct 29, 2018 How to queue messages for processing later Is their a way to queue messages in a business operation to be processed later? I want to process messages over a certain size on a schedule, but let everything else process in real time. Is their a way to do this with one business operation or would I have to queue the large messages in a different business operation? #Business Operation #Business Process (BPL) #Ensemble 0 1 0 491
Question Julie Marulappa · Sep 27, 2018 Is their a way to make an http adapter wait a certain number of seconds? I have an http adapter that calls out to a web service and is looking for a "Completed" response. I want the adapter to wait a certain number of seconds before calling out again to get a response. I have tried setting the retry interval on the business operation but that does not do it. See my code below. #Object Data Model #Caché 0 5 0 483
Question Julie Marulappa · May 2, 2018 How to pass a list from one BPL to another BPL? What is the best way to pass a list(collection) of integers from one BPL to another BPL? Here is what I have now, but this doesn't seem to be working. In the CALL to the other BPL I am trying to pass the EOBList. Not sure what I am doing wrong. #Ensemble 0 2 0 404
Question Julie Marulappa · Apr 26, 2018 Keep getting METHOD DOES NOT EXIST I am trying to create a list of id's which are of type integer. I have created a class like below and then I am trying to call the class from a BPL to first initialize the list. In the BPL, I have an assign action that is using set and a context variable setup to hold the list data. The property is using the class I have created, ##class(MSI.IN835.EOBList).%New(). I keep getting an error back saying the method does not exist. Why does it not like the %new method? I am new to cache object script, so if their is a better way to do this, I am open to that as well. #Caché 0 9 0 1.9K