To receive messages via the Process Dashboard, you need to perform the following steps:
- Drag the Asynchronous Data Object into the drawing area.
- Select the appropriate connector and the connector call for receiving the message.
- You can continue with or without script.
Continue with script:
var lv_msg = data.data.msg;
data.data.msg must eventually be adapted to the output parameter specified in the connector call. lv_msg is the received message (type String, can be e.g. a JSON string, then parse to get object:
JSON.parse(data.data.msg)
It returns the object:
{propertyOne: 'abc', propertyTwo: 5}
Continue without script:
Use the output mapping to map received messages, e. g. to a widget or to save it in a variable.