Use a! startProcess from an interface

Hello,

I have a problem with an interface.

When I press a button I have to invoke a process to retrieve some data and paint a table but when I run it returns the following error.

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = AXPRUFNG] : An error occurred while executing a save: java.lang.IllegalStateException: A Value should not be the result of activation

The code is:

saveInto: a!save(
local!prueba,
a!startProcess(

processModel: cons!PROCESO_PRUEBA,
processParameters: {
entrada: ri!entrada
},
onSuccess: {
a!httpResponse(
statusCode: 200,
headers: {
a!httpHeader(
name: "Content-Type",
value: "application/json"
)
},
body: fv!processInfo.pv.ListaResultados
)
}
)
)

Launching the process separately recovers:

"ListaResultados": [
{
"dato1": "01",
"dato2": "dato01"
},
{
"dato1""02",
"dato2""dato02"
}]

If I look at the monitoring I see that the process is running, it seems like the problem is to recover the data but I don't know if that is it or something else.

Do you know why this happens?

Regards, and thank you very much

 

  Discussion posts and replies are publicly visible