Patrik Wikström
90 posts
Registered:
15 Oct 2018
11 May 2023
Link to this post
Is there any plans, or new ideas to get these supported? We would probably, at least, want to use them together with Business Tasks for 3rd party integration calls. We would prefer to expose REST endpoints instead of the JSDO because of easy of use. Of course we can create our own webhandlers etc. but that is more/different work.
"Due to limitations of the ABL reflection API, we currently do not support ProDatasets passed as the input to Business Task and Business Entity methods. This limitation has been accepted in our design process as we expect a majority of use-cases for RESTful invocation of Business Task and Business Entity methods just requires to return data in ProDatasets, not to receive data. So, the only input message to the invokable messages supported through the RESTful interface is the parameter object instance.
As ABL reflection is not capable of providing the schema of the ProDataset parameters we've had to balance the requirement to provide the schema of the ProDataset parameters manually (through code in the Business Tasks) with ease of use. The schema of ProDataset parameters is required as the loosely typed JSON messages do not allow the AVM to securely create an input ProDataset "on the fly" without losing schema compatibility with the strongly typed Dataset's used within Business Tasks and Business Entities. "