I had a related action which will update the form . Now Instead of relatedaction I need to keep a button to update which should call same processmodel

I had a related action which will update the form . Now Instead of related action I need to keep a button to update which should call same processmodel to update the form with .

a!columnLayout(
contents: {
a!buttonArrayLayout(
buttons: {
a!buttonWidget(
label: "Update Form",
saveInto: a!startProcess(
processModel: cons!_UPDATE_FORM_PROCESSMODEL,
},
align: "END"
)
}
)


when I click on that button ,It is calling the processmodel at backend but getting error and the form is not opening up like in relatedaction . If I do update from related action it is working as expected.




Can someone pls help

  Discussion posts and replies are publicly visible