a!startProcess data not returning

Hi ,

I am using a!startprocess with button first time. it is able to execute the PM on "Submit" button press but not brining the process variable data. 

PM is simple, only one script tasks which execute an expression saves data into PV testdata, now i want that testdata to come to interface so i can use it further.

Below is the code.


a!buttonArrayLayout(
buttons: {
a!buttonWidget(
label: "Verify",
submit: true(),
saveInto: {
a!startProcess(
processModel: cons!test_PM,
processParameters: {
Excel:ri!Doc,
},
onSuccess: a!save(ri!data,fv!processInfo.pv.testdata)
)
)},
validate: false(),
)
}

)

  Discussion posts and replies are publicly visible