Policy Workflow Step 14

Next, we need to add another step. To do this we click back to the โ€œcreate_new_sensor_stepsโ€ step and click on the โ€œSendโ€ button in the top navigation bar since we need to send the information we collect to Hedera via the Guardian for storage.

Again we add a tag, data type โ€“ Hedera to be compliant with the Hedera transaction format, and entity type (Inverter) which indicates the sensor.

Programmatically this workflow step looks like this:

                // Save the created sensor VC in the corresponding Heder Topic.
                  "tag": "send_sensor_vc_to_hedera",
                  "blockType": "sendToGuardianBlock",
                  "dataType": "hedera",
                  "entityType": "Inverter",
                  "uiMetaData": {}

Last updated