Question Aziz Cotrim · May 29

I have several Business Operations that share similar behavior, like building HTTP headers or parsing a specific response format. In C# I would extract this into a service class or a base class. What is the recommended way to do this in IRIS? Should I use a utility class, a common superclass, or is there another pattern the community prefers?

2
0 64
Question Aziz Cotrim · May 29

I have a Business Process that needs to call an external API that may take several seconds to respond. I'm worried that keeping the BP blocked waiting for the response could affect the overall Production throughput. Is there a recommended pattern for handling async calls inside a BPL or custom BP class to avoid this kind of bottleneck?

3
0 67
Question Aziz Cotrim · May 17

I'm learning about Productions in InterSystems IRIS and I understand the basic roles of Business Service, Business Process and Business Operation. But I still get confused about where exactly to put certain logic. For example, if I need to validate a message before routing it, should that validation live in the Business Service or at the beginning of the Business Process? What's the recommended practice?

1
0 26