Save Event¶
The Save Event node saves the output from the previous node as device event information. The saved information can be viewed in EnOS Management Console > Device Management > Device Assets > Device Details > Event.
Node Type¶
EnOS.
Input and Output Ability¶
This node has multiple entry points and 2 exit points (success/failure).
Node Properties¶
Name
The name for this node.
Description
The description for this node.
Limitations¶
The input msg must be in EnOS standard data format, with the metadata containing the asset ID, device key, product key, and organization ID.
Samples¶
Input Sample¶
{
"MetaData": {
"messageType": "PostEvent",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"ts": "1622185433526"
},
"Body": {
"modelId":"Inverter_Demo_LY",
"Error":{
"Error":"Warning"
},
"productKey":"productKey"
}
}
Output Sample¶
{
"MetaData": {
"messageType": "PostEvent",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"componentResult": "Success",
"ts": "1622185433526"
},
"Body": {
"modelId":"Inverter_Demo_LY",
"Error":{
"Error":"Warning"
},
"productKey":"productKey"
}
}