Our case is that we need to compute and validate a document after fetching it from a REST API.
In the past, with the lower version of A12, we used the computeThenValidate from @com.mgmtp.a12.formengine/formengine-core/lib/back-end/store/internal/computation, however, it is marked as internal in A12 2023.06 so we cannot use it. After having a look at the A12 client code, we found out that in ticket A12C-2860, the A12 client also needed to adapt to this breaking change. However, all the updated codes are marked as internal so we want to ask that:
“Is there any public API for computing and validating a document instead of copying codes from A12 Client, which is not an official way?”
The function computeThenValidate was always marked as an A12-internal API.
With the 2023.06 version it was removed because the Kernel added a new Document-based API that can be used to evaluate the Document Model computations. This API is independent of the form engine.
You can find the respective API documentation here: GetA12 Login
Thanks a lot for your answer.