Is there a way when updating the Activity form to also trigger the computations?

Right now I’m updating the values of some fields with something like yield put(ActivityActions.setData({ activityId, data: newDocumentData })); nonetheless these fields are used by some computations, but they don’t seem to trigger once you update them this way. Is there a way around this?

This is currently not supported by A12, have a look at the internal ticket A12-11742. I described the workaround we used for this problem there, although it’s not very elegant

HI @marcel-calm-dew , can you please write the workaround as well here? Some of Discourse Users cannot access our Jira. Thanks

In the SME we had the same issue and call the kernel implementation directly.
grafik

The DocumentModel and IGeneratedCodeAccessor can be retrieved from the redux store.
grafik

Note: the classes ValidationData and ValidationResult have to be implemented as well. We basically copy pasted the code from the Form Engine