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"?
Hi Julie,
I haven't actually used that feature, but what you described does appear to be the intent of "Context Superclass". From the documentation https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=EBPLR_process, and https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=EBPL_editor
I think you then would set the default values on the superclass's properties. Again, I haven't used this, so I might be steering you in the wrong direction!
Context dies in the call thus can't be carried forward to next calls. That's why we have request / responses.
Theoretically it's not possible.
Context superclass is if you want to have a class with basic properties you need everywhere, like an Abstract Class
No. Each Business Host job is a separate process. They can share data with each other by sending request/response messages to each other.
I'd recommend System Default settings to do mass edit of Business Host settings.
Context superclass can help but it would break abstraction and probably be rather slow.
If I use the context superclass and I set a value in one of the context properties, will the value be retained from one business process to the other or will it get reset. In my case, I'm parsing an x12 file and have created 1 business process to loop thru the Groups(GS/GE) and another business process to loop thru the transaction sets within the group. The second process is creating a file record and getting a fileid. Once this value is set will it be retained in both business processes if I use the context superclass?